Then the fun really begins because different web browsers can only play certain types of video (and audio) files. So to make sure that the video plays on whatever PC opens the page you need to have two copies of the video using different formats. There's a free online file conveter
here.
HTML Code:
<video width="320" height="240" controls="controls">
<source src="movie.mp4" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
Your browser does not support the video tag.
</video>
For older browsers that do not support HTML5 you may also wish to inculde a FLASH player option as a last resort.
HTML5 Video Formats and Browser Support
There are 3 supported video formats for the <video> element: MP4, WebM, and Ogg:
Browser -------- ---
MP4 -----
WebM -----
Ogg
Internet Explorer 9 ... YES ............NO ..........NO
Firefox 4.0+ ...............NO .............YES ........YES
Google Chrome 6+ ..... YES ............YES ........YES
Apple Safari 5+ ......... YES ............NO ..........NO
Opera 10.6+ ...............NO ............YES .........YES
MP4 = MPEG 4 files with H264 video codec and AAC audio codec
WebM = WebM files with VP8 video codec and Vorbis audio codec
Ogg = Ogg files with Theora video codec and Vorbis audio codec