在iframe中播放视频时,如何将自动启动视频设置为关闭 [英] How can i set autostart video to off when i play video in iframe
本文介绍了在iframe中播放视频时,如何将自动启动视频设置为关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在加载页面时播放视频.我正在通过iframe播放此视频.但现在我希望视频未设置为在加载时自动启动,而是设置为关闭& ;;当我单击开始时,它就会开始.
我在其中静态写入 autostart="false"
,但是它不采用此方法.所以任何人都有一个主意,我如何将autostart ="OFF"设置为与我共享.请检查我的代码:
I am playing an video at load of the page. I am playing this video via iframe. But now i want the video is not set to autostart at load time, it set to be off & when i click on start it get started.
I write autostart="false"
statically in it, but it doesn''t takes this method. So anyone have an idea how can i set autostart="OFF" kindly share with me. Kindly check my code:
<iframe src="http://www.abc.com/video.html" height="425px" width="610px" allowtransparency="0" frameborder="0" scrolling="no"></iframe>
推荐答案
hi 试试这个
< IFRAME src ="video.html" width ="280" height ="256" scrolling ="no" frameborder ="0" autoplay ="true">
</IFRAME>
hi try this
<IFRAME src="video.html" width="280" height="256" scrolling="no" frameborder="0" autoplay="true">
</IFRAME>
这篇关于在iframe中播放视频时,如何将自动启动视频设置为关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文