Embedding Videos in Posts

People often like to embed videos in blog posts.  On multiuser sites like this, though, letting people insert arbitrary HTML code can be a security problem for other logged-in users, and so WordPress strips out embed codes.  The alternative, though, is actually easier: simply copy and paste the URL to the video you want onto a line by itself, and WordPress will turn it into an embedded video.  For example, if you paste:

http://www.hulu.com/watch/128305/star-trek-vii-generations

then you’ll get this:

This works for links from YouTube, Vimeo, DailyMotion, blip.tv, Flickr (both videos and images), Viddler, Hulu, Qik, Revision3, Scribd, Photobucket, PollDaddy, Google Video, and WordPress.tv.

2 thoughts on “Embedding Videos in Posts

  1. Avatar of Adrian J IvakhivAdrian J Ivakhiv

    The alternative is very handy – I like it. Is there a way to make the embedded videos smaller? When the text is made enough to easily read, the videos take up half the page (on my blog, at least)…

Comments are closed.