October 13th, 2009
Embedding video in WordPress will get easier, thanks to Portland’s Viper007Bond
Now don’t get me wrong. I love the WordPress. Nothing has ever made my blogging life easier than its open source goodness. But all that love aside, it does have a few blemishes.
Like embedding video. As anyone who has ever tried to embed a video in a WordPress blog post can tell you. They’ve likely lost a few clumps of hair in the process.
If only it could be easier. If only.
Well, thanks to Portland-based Alex “Viper007Bond” it will be.
You see, Viper007Bond just contributed code to WordPress core that will vastly simplify embedding remote content. That means videos as well as other heretofore hard to embed content.
This feature can be used to embed literally any type of content from any website that supports embedding its content. If the site supports oEmbed and has a discovery tag to their oEmbed provider URL in <head> the of their pages, then you’re good to go — you can embed their content without doing anything extra.
Now, don’t get too excited. It’s still early and the code is still in alpha but…
What’s that? You’re willing to try it in alpha? Alright you crazy kids. But don’t say I didn’t warn you.
If you’re into testing alpha code and would like to try it out, just checkout a copy of the WordPress trunk via SVN. You can also just wait until later this month for when the more stable WordPress 2.9 beta is planned to be released.
You can get the full instructions on using the code in Viper007Bond’s post.
(Hat tip to Aaron Hockley)