How to use the native Firefox support for Ogg/Theora Videos
The latest Firefox version (3.5 or later) introduced the HTML5 video tag. This allows including an Ogg Theora video into a web page without needing any plugins. Thus, it is fairly simple to place a video inside a HTML page.
This is a simple example on what the video tag could look like:
1 <video
2 src="http://my-server.org/video.ogm"
3 width="480"
4 height="320"
5 autoplay="autoplay"
6 controls="controls">
7 Sorry, your browser does not support the video tag. Try using Firefox
3.5+
8 </video>
Line 1 opens the tag. Line 2 defines the source of the video. Line 3 and 4 set width and height of the video viewport. Line 5 sets autoplay for starting the video instantly without hitting a play-button. Line 6 lets the browser show some control-buttons. After this, the opening video tag ends with a right angle bracket.
Line 7 is only displayed if a browser can not interpret the video tag. So you can say sorry to all the people not using a video tag supporting browser.
Finally line 8 closes the video tag.
Thats it. Have fun including your videos into you websites!