<!DOCTYPE HTML>
<html>
<body>
<video width="320" height="240" controls="controls">
<source src="#" type="video/ogg">
<source src="#" type="video/mp4">
Your browser does not support the video tag.
</video>
</body>
</html>
<video></video>标签里属性controls是可控制进度条。(视频播放进度条)
src里为文件路径
Your browser does not support the video tag.
当浏览器不支持播放,会显示此内容
video 元素允许多个 source 元素。source 元素可以链接不同的视频文件。浏览器将使用第一个可识别的格式。例如本实例中的视频格式是ogg、mp4,浏览器会使用第一个可识别的格式。