<video width="320" height="240" controls="controls">
<source src="movie.mp4" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
<source src="movie.webm" type="video/webm" />
<object data="movie.mp4" width="320" height="240">
<embed src="movie.swf" width="320" height="240" />
</object>
</video>
<center style="margin-top: 30px;">
<video width="1100" height="620" controls="controls" poster="images/sysp.png" id="sdvideo">
<source src="images/sdxcp.mp4" type="video/mp4" />
</video>
</center>
<script>
var vdo = document.getElementById('sdvideo');
window.num = 1;
$('#sdvideo').click(function(){if(window.num==1){vdo.play();window.num=2;}else{vdo.pause();window.num=1;}})
</script>
html5视频嵌入
最新推荐文章于 2021-10-20 11:44:51 发布