当我们登陆某个频道的主页时,YouTube自动播放视频如何使用音乐视频

发布于 2025-01-24 17:03:32 字数 213 浏览 1 评论 0原文

在Chrome版本

请参考,如果您转到此YouTube link link 视频会与声音自动播放。

知道这是怎么发生的吗?好奇地知道这一点。

After chrome version 66 autoplay of video with music was not allowed and if we want to autoplay any video we need to keep the video muted but currently when I was going through some youtube channel page and there when I land on the page the video would autoplay with the music and they are also using video API of HTML only when I inspected that player so how is youtube able to autoplay their video with audio. Any ideas ?

For reference if you go to this youtube link the video would autoplay with voice.

Any idea how this is happening ? Curious to know about it.

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

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

发布评论

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

评论(1

剩余の解释 2025-01-31 17:03:32

音乐不允许自动播放,即使它必须静音,是的。。。。但是,我认为,YouTube通过将视频嵌入到频道页面上,youtube绕过了这一点,我可能错了。

Music is not allowed to autoplay and even if it does it has to be muted, yes.... But, I don't think the same applies for embeds, I believe, youtube bypasses this by embedding the video onto the channel page, I may be wrong.

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