问题描述
我不知道如何使用 YouTube 的新嵌入代码样式.我尝试将 &autoplay=1 添加到使用旧样式的 url 中,但它不起作用.例如,http://www.youtube.com/embed/JW5meKfy3fY 是嵌入链接,但是 http://www.youtube.com/embed/JW5meKfy3fY&autoplay=1 不起作用.谁能告诉我怎么做?谢谢
I can't work out how to autoplay a video using the new embed code style for Youtube. I tried adding &autoplay=1 to the url, which worked with the old style, but it didn't work. For example, http://www.youtube.com/embed/JW5meKfy3fY is the embed link, but http://www.youtube.com/embed/JW5meKfy3fY&autoplay=1 doesn't work. Can anyone tell me how to do it? Thanks
推荐答案
只需在 url 中输入?autoplay=1",视频就会自动加载.
Just put "?autoplay=1" in the url the video will autoload.
所以你的网址是:http://www.youtube.com/embed/JW5meKfy3fY?autoplay=1
如果您想禁用自动播放,只需将 1
设为 0
作为?autoplay=0
In case you wanna disable autoplay, just make 1
to 0
as?autoplay=0
这篇关于如何使用 Youtube 的新嵌入代码样式自动播放视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!