HTML插入视频的代码:
<video width="420" height="200" controls autoplay>
<source src="img/video/movie.ogg" type="video/ogg">
<!--因为我的视频格式是ogg,所以路径的视频格式为ogg,下边注释的地方,就是你的视频什么格式就弄什么格式!-->
<!--<source src="img/video/movie.mp4" type="video/mp4">
<source src="movie.webm" type="video/webm">-->
<object data="movie.mp4" width="320" height="240">
<embed width="420" height="200" src="img/video/movie.swf">
</object>
</video>
如果哪里有误或不懂,我基本随时在线,评论指出,或者发送邮箱:[email protected]