HTML视频显示 [英] HTML video display
本文介绍了HTML视频显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用这样的东西:
< video width =320height =240controls =controls>
< source src =movie.mp4type =video / mp4/>
< source src =movie.oggtype =video / ogg/>
您的浏览器不支持视频标签。
< / video>
解决方案
这三个网站都提供了嵌入此视频(或类似的)链接在他们允许共享的每个视频附近。使用它。
绕过他们的播放器将违反他们的条款(因为如果不将他们的品牌/广告应用于视频,您将有效吸取他们支付的带宽)。
H want to display videos using DailyMotion, Youtube and Vimeo WebSites. How can I do this in my HTML code?
I want to use something like this:
<video width="320" height="240" controls="controls">
<source src="movie.mp4" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
Your browser does not support the video tag.
</video>
解决方案
All three sites provide an "Embed this video" (or similar) link near every video they allow to be shared. Use that.
Bypassing their player would be a violation of their terms (as you would be effectively sucking up the bandwidth they pay for without applying their branding / advertising to the video).
这篇关于HTML视频显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文