HTML5 - add video to html the easiest way
by rajesh[ Edit ] 2010-03-01 20:44:22
Here comes a easy way to add any video ( mp4, ogv files) in your web page.
just three line of code
add the following lines in head
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://html5media.googlecode.com/svn/trunk/src/jquery.html5media.min.js"></script>
then too add the video in the page, upload the video in the respective folder and add the line in the page
<video src="video.mp4" width="320" height="240" controls autobuffer></video>
more details in
http://code.google.com/p/html5media/