A lot of people read blogs on open source projects via their respective planets. For example, I’m on both planet.mozilla.org and planet.gnome.org. You can either read content directly using your browser or you can read the rss feed for the entire planet. In either case the planet software parses and re-exports the feeds in order to enforce some level of html correctness and remove html items that might be unsafe.
For a long time people have been embedding flash movies in their posts using both <object> and <embed> tags. However the planet software, rightfully so, strips those tags out as unsafe.
Native video support, however, is designed such that it’s safe to include video in html and more recent versions of feedparser support passing video elements through to the planet software. Here’s what one of my recent posts looks like on Mozilla’s planet site:
One problem is that the controls don’t show up. If you’re using <video> and you want the controls to show up you have to add a controls attribute to the video element, like so:
<video src="foo.ogv" controls="true"></video>feedparser was stripping out the controls attribute. (In Firefox if you right click on the video you can still play it manually.)
However, Sam Ruby was nice enough to fix that problem in feedparser. Admins for the various planets should probably update their feedparser versions to pick up this fix to get ready for the new video-enabled world.
Thanks, Sam!


