Ogg-Theora video is the open source codec supported by Firefox, Chrome, and Opera to play HTML5 video. If the world were perfect, and all browsers supported Ogg Theora this would be the HTML code to play this simple HTML5 video demo:
<video src="Videos/cat.ogv" controls></video>
If you use this format instead, you will be ready to add the code to play H.264 and Flash:
<video width="320" height="240" poster="Videos/cat.jpg" controls> <source src="Videos/cat.ogv" type"video/ogg"> </video>
where “poster” is the image used while the video is loading, “width” and “height” refer to the video dimensions, and “controls” adds the native video controls. The Dev Opera site has information on other attributes and also how to script your own controls.