gpt4 book ai didi

youtube - 如何使用自动播放,循环播放和显示控件嵌入Youtube视频?

转载 作者:行者123 更新时间:2023-12-03 05:27:41 25 4
gpt4 key购买 nike

如何使用自动播放,循环播放和显示控件嵌入Youtube视频?

嗨,我如何使视频连续播放而不会中断,同时显示出控制权

最佳答案

您只需要修改url参数,例如autoplay = 1 loop = 1和control = 1

https://www.youtube.com/embed/E5ln4uR4TwQ自动播放 = 1&循环 = 1&播放列表 = E5ln4uR4TwQ”

请引用YouTube Embedded Players and Player Parameters以获得更多设置。

**我们需要播放列表参数来使循环生效,而该值将是您的视频ID

Note: This parameter has limited support in the AS3 player and in IFrame embeds, which could load either the AS3 or HTML5 player. Currently, the loop parameter only works in the AS3 player when used in conjunction with the playlist parameter. To loop a single video, set the loop parameter value to 1 and set the playlist parameter value to the same video ID already specified in the Player API URL:

关于youtube - 如何使用自动播放,循环播放和显示控件嵌入Youtube视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44987615/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com