Need: The ability to control the thumbnail to be used when sharing a post with Facebook.
The Catch: I was trying to share a post with Facebook that had no thumbnail attached to it.
Need: The ability to control the thumbnail to be used when sharing a post with Facebook.
The Catch: I was trying to share a post with Facebook that had no thumbnail attached to it.
Since I already wrote the snippet of code to get the thumbnails from the embedded Vimeo video, I thought I might as well do the same for YouTube. It will search through your posts’ content for YouTube embed code and will generate a thumbnail for you. It’s not fancy but it gets the job done.
(more…)
With WordPress 2.9, you can now embed videos by simply pasting the URL into your blog post and have it create the embed code. I was using Vimeo and wanted to pull the thumbnail associated with the Vimeo video which was embedded in my posts.
(more…)