Video for Everybody - Cross browser video player
Video for Everybody is simply a chunk of HTML code that embeds a video into a website using the HTML5 <video>
element, falling back to QuickTime and Flash automatically, without the use of JavaScript or browser-sniffing. It therefore works in RSS readers (no JavaScript), on the iPhone / iPad (don’t support Flash) and on many browsers and platforms.
This is native video playback in Firefox 3.5. No plugins to install. The video is played by the browser itself, it loads quickly and doesn’t threaten to crash your browser. In other browsers that do not support <video>
, it falls back to QuickTime. This video player allows playback on the iPhone OS 2; OS 3 and above use HTML5 video. If QuickTime is not installed, Adobe Flash is used. You can host locally or embed any Flash file, such as a YouTube video.
Video for Everybody uses an MP4 video file to play in Safari, in Flash and on the iPhone / iPad. Therefore the MP4 file must conform to the requirements for these three platforms. Technically Safari can play anything QuickTime can play. Flash can play H.264 and the iPhone is a little more restrictive in that it tops out at 640×480, does not support streaming, and does not support the Main H.264 profile. See Apple’s own instructions for the specifics.
Compatibility: All Major Browsers (Linux systems without Firefox 3.5, Flash or MPEG-4 codecs can have problems)
Website: http://camendesign.com/code/video_for_everybody
Demo:http://camendesign.com/code/video_for_everybody/test.html