嵌入自动播放false在Mozilla中不起作用 [英] Embed autoplay false not working in Mozilla
问题描述
我在Mozilla中使用嵌入标签。视频仅在页面加载时播放。自动播放( autoplay =false)对我没有帮助。任何人都可以帮助我吗?
预先感谢!
< embed id =video1 src =Wildlife.wmvtype =application / mediaplayerautoplay =falsewidth =470height =280>< / embed>
这是Chrome和Firefox的一个已知错误。尝试使用另一个源扩展名, .wmv
对于没有 Flip4mac
的Mac用户也是无效的。
这个bug也可以通过使用< object>
来解决:
< object width =470height =280type =application / x-mplayer2>
< param name =fileNamevalue =Wildlife.wmv>
< param name =autostartvalue =0>
< / object>
然后,使用 I am using embed tag in Mozilla. Video start playing on page load only. Autoplay (autoplay="false") is not helping me. Can any one help me please? Thanks in advance !
This is a know bug for Chrome and Firefox. Try using another source extension, Also this bug can be fixed by using The bug in the Then again, the best solution for using
这篇关于嵌入自动播放false在Mozilla中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! type
,导致更好的解决方案:
这种情况下的最佳解决方案
< embed>
正在设置插件url
,类型
和自动启动
类似这:
< embed type =video / x-ms-wmvpluginspage =http://www.microsoft .com / Windows / MediaPlayer /autostart =0width =470height =280loop =0src =Wildlife.wmv>< / embed>
<embed id="video1" src="Wildlife.wmv" type="application/mediaplayer" autoplay="false" width="470" height="280"></embed>
.wmv
is also not valid for Mac users without Flip4mac
.<object>
like this:<object width="470" height="280" type="application/x-mplayer2">
<param name="fileName" value="Wildlife.wmv">
<param name="autostart" value="0">
</object>
<embed>
can be caused by using the wrong type
, so move on to the better solution:
Best solution in this case
<embed>
is setting the plugin url
, type
and autostart
like this:<embed type="video/x-ms-wmv" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" autostart="0" width="470" height="280" loop="0" src="Wildlife.wmv"></embed>