0
我有视频网址,我尝试播放该视频,但它不播放,它被下载。如何播放视频如何在使用html代码的新浏览器中播放avi视频文件
<div> For help <a href="https://xxx/xxx.avi" target="_blank">Watch this video</a></div>
我有视频网址,我尝试播放该视频,但它不播放,它被下载。如何播放视频如何在使用html代码的新浏览器中播放avi视频文件
<div> For help <a href="https://xxx/xxx.avi" target="_blank">Watch this video</a></div>
你不能在一个锚标签嵌入视频,您必须使用 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
希望它能帮助。
是的,我试着用你的代码,它不工作。 – chakri
PS这里的src =“movie.mp4”但我的视频文件不在服务器上,我只有视频网址 – chakri
@Andres Thomposon它是第三方视频,我们不能改变格式 – chakri