0

I have the video url, i try to play that video , but it is not playing, it is downloaded. How to play the video

<div> For help <a href="https://xxx/xxx.avi" target="_blank">Watch this video</a></div>
4

1 回答 1

2

您不能在锚标签中嵌入视频,您必须使用html5 标签。

<video width="320" height="240" controls>
    <source src="https://xxx/xxx.mp4" type="video/mp4">
    <source src="https://xxx/xxx.ogg" type="video/ogg">
    Your browser does not support the video tag.
</video>

您可以在http://www.w3.org/wiki/HTML/Elements/video中找到更多信息

希望能帮助到你。

于 2013-10-01T09:27:05.953 回答