<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - Kit</title>
<link>http://snipplr.com/users/Kit/language/javascript</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 02:11:43 GMT</pubDate>
<item>
<title>(JavaScript) Getting Video For Everybody working without encoding an OGG</title>
<link>http://snipplr.com/view/21666/getting-video-for-everybody-working-without-encoding-an-ogg/</link>
<description><![CDATA[ <p>Video For Everybody is a great way to use the `` tag with fallbacks for QuickTime or Flash for users with old browsers, but it requires that every video be encoded twice (once for the MP4 and once for the OGG).

This code (which requires Mootools but could be easily rewritten to avoid that requirement) allows you to provide a better experience for users of very old Flash Players (which don't support H.264 playback) and working video for Firefox users (without encoding any OGG files).

The code should be run onDomReady, and only if there's a `` element on the page. Due to my requirements, this code only addresses the first `` element on the page.

The video element should be enclosed in a `` or other suitable container.</p> ]]></description>
<pubDate>Thu, 22 Oct 2009 21:13:32 GMT</pubDate>
<guid>http://snipplr.com/view/21666/getting-video-for-everybody-working-without-encoding-an-ogg/</guid>
</item>
</channel>
</rss>