<video src="foo.mp4" width="300" height="200" controls> Your browser does not support the <video> element. video>
DOCTYPE HTML><html><body> <video width="300" height="200" controls autoplay> <source src="/html5/foo.ogg" type="video/ogg" /> <source src="/html5/foo.mp4" type="video/mp4" /> Your browser does not support the <video> element. video>body>html>
<audio src="foo.wav" controls autoplay> Your browser does not support the <audio> element. audio>
DOCTYPE HTML><html><body> <audio controls autoplay> <source src="/html5/audio.ogg" type="audio/ogg" /> <source src="/html5/audio.wav" type="audio/wav" /> Your browser does not support the <audio> element. audio>body>html>
DOCTYPE HTML><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>html>
AddType audio/ogg .oga AddType audio/wav .wav AddType video/ogg .ogv .ogg AddType video/mp4 .mp4
Anything in here will be replaced on browsers that support the canvas element
Yorumlar (0)