You can add audio or video to your html page. Either you can add video from
www.youtube.com or you can add you own video by uploading the same to your own web server. But it is a bit tricky to show videos in your web page, and it is a little
complicated to make it works in all browser.
File | Format | |
.swf or .flv | Flash | |
.mov | QuickTime | |
.rm or .ram | Real Video | |
.avi | AVI | |
.wmv | WMV | |
.mpg or .mpeg | MPEG | |
.mp4 | Mpeg-4 |
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" border="0" width="160" height="160"> <param name="movie" value="myfile.swf"> <param name="quality" value="High"> <param name="wmode" value="transparent"> <embed src="myfile.swf" type="application/x-shockwave-flash" name="obj1" width="160" height="160" quality="High" wmode="transparent"></object>
<embed src="mymovie.mov" width="320" height="252" autoplay="true" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/">
<object id="id1" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="240" width="320">
<param name="controls" value="imagewindow"> <param name="autostart" value="true"> <param name="src" value="myvideo.rm"> <embed height="240" width="320" controls="imagewindow" src="myvideo.rm" type="audio/x-pn-realaudio-plugin" autostart=true> </object>
<embed src="myfile.mpeg" autostart="false" />
<iframe width="420" height="315" src="http://www.youtube.com/embed/p9KjdYJ_gcc" frameborder="0" allowfullscreen></iframe>
<object width="420" height="315"> <param name="movie" value="http://www.youtube.com/v/p9KjdYJ_gcc?version=3&hl=en_US"> </param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/p9KjdYJ_gcc?version=3&hl=en_US" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed> </object>