使用HTML5嵌入视频

时间:2013-06-05 20:37:37

标签: html5-video

好的,我正在尝试将视频文件嵌入到页面中。我已将.mov转换为.mp4,.ogv和.webm。我已将以下代码添加到页面中:

<video width="768" height="432" controls="controls" autoplay="autoplay">
      <source src="Ireland-The-Day-I-was-Born-Promo_2.mp4" type="video/mp4" />
      <source src="Ireland-The-Day-I-was-Born-Promo_2.ogv" type="video/ogg" />
      <source src="Ireland-The-Day-I-was-Born-Promo_2.webm" type="video/webm" />
        Your browser does not support the video tag.
</video>

Here is the result

当我在浏览器中打开时,每个视频都能正常运行。

我错过了什么吗?

0 个答案:

没有答案