如何在 Safari 浏览器上使用 iframe 标签停止视频自动播放

发布于 2024-12-09 11:10:12 字数 459 浏览 1 评论 0原文

我正在网站中使用 Quick time 嵌入视频,它在加载页面时开始自动播放。

这是代码嵌入视频。

<iframe SRC="${signedVideoURL}&autoStart=false" TYPE="image/xmacpaint"PLUGINSPAGE="https://www.apple.com/quicktime/download"QTSRC="${signedvideoURL}&autoStart=false" WIDTH="480" HEIGHT="297" AUTOPLAY="false" CONTROLLER="true" SCALE="ToFit"> </iframe>

浏览器 - Safari 5.1.1

我也尝试过传递参数 autoplay=0 ,但这也不起作用。 任何人都可以建议如何停止这种自动播放吗?

谢谢

i am embedding a video using Quick time in website and it starts to play automatically upon loading page.

Here is the code embed video.

<iframe SRC="${signedVideoURL}&autoStart=false" TYPE="image/xmacpaint"PLUGINSPAGE="https://www.apple.com/quicktime/download"QTSRC="${signedvideoURL}&autoStart=false" WIDTH="480" HEIGHT="297" AUTOPLAY="false" CONTROLLER="true" SCALE="ToFit"> </iframe>

Browser - Safari 5.1.1

I have also tried passing parameter autoplay=0, that didnot work either.
Can any one suggest how to stop this autoplay?

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏至、离别 2024-12-16 11:10:12

我不是 100% 确定这一点,但无论如何都要尝试一下(如果它不是真正的答案,它应该离它不远):将参数 autoplay=false 放在 src 中 iframe youtube 视频标记的字符串。像往常一样使用 & 字符附加它。

希望这有帮助

I'm not 100% sure of this but try it anyway (if its not the true answer, it shouldn't be far from it): put the argument autoplay=false in the src String of the iframe youtube video tag. Append it as usual with the & character.

Hope this helps

演出会有结束 2024-12-16 11:10:12

&autoplay=0 添加到您的网址

Add &autoplay=0 to your url

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文