Edit Code in left box and click Show Results button to see the result. | Home
<!DOCTYPE HTML> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=html5-51.htm by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 09:04:37 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> <head> <script type="text/javascript"> function playVideo(){ var v = document.getElementsByTagName("video")[0]; v.play(); } </script> </head> <html> <body> <form> <video width="300" height="200" src="../html5/foo.mp4"> Your browser does not support the <video> element. </video> <input type="button" onclick="PlayVideo();" value="Play"/> </form> </body> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=html5-51.htm by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 09:04:37 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> </html> |