Embedding YouTube Video in a WordPress Post
Ever need to embed content in your WordPress site?
Since WordPress 2.9, there’s been an easy way to automatically embed some of the most popular web content using the HTML view within the WordPress editor.
Here’s an example:
I discovered I can embed tweets and YouTube in WordPress posts by pasting URL into a blank line in WP HTML Editor
— Matt Sullivan (@mattrsullivan) July 20, 2012
This is handy for embedding video from popular services, or just illustrating a conversation via twitter…
@robocolumn FYI, for those looking for Twitter URL's, click on the timestamp link to open into its own window…
— Matt Sullivan (@mattrsullivan) July 20, 2012
And of course, this is handy for referencing YouTube kitten videos as well!
Supported types include (as of July, 2012)
- YouTube (only public videos and playlists – “unlisted” and “private” videos will not embed)
- Vimeo
- DailyMotion
- blip.tv
- Flickr (both videos and images)
- Hulu
- Qik
- Revision3
- Scribd
- Photobucket
- PollDaddy
- WordPress.tv (only VideoPress-type videos for the time being)
- SmugMug (WordPress 3.0+)
- FunnyOrDie.com (WordPress 3.0+)
- Twitter (WordPress 3.4+)
Just put your content on its own line
Join over 4,300 of your peers and get my latest content sent to you for free, along with some of my all-time favorites.