html - 如何将YoutubePlaylist包含到html中?

标签 html iframe youtube

我的html文件中有此代码,但无法正常工作,是否有任何错误?

<iframe class="video" src="
https://www.youtube.com/playlist?list=PLugGnSaLgr_1zb5n91s6okPtwm0MfgFD1?controls=0&showinfo=0&rel=0&autoplay=0&loop=0&mute=1&cc_lang_pref=en&cc_load_policy=1" frameborder="0" allowfullscreen></iframe>

最佳答案

试试这个片段

<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLugGnSaLgr_1zb5n91s6okPtwm0MfgFD1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

关于html - 如何将YoutubePlaylist包含到html中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54325438/

相关文章:

html - Clearfix 不适用于所有页面

HTML:框中间的标题

iframe - 将边界半径添加到 TinyMCE 文本区域

javascript - 在 IE 中通过 DOM 访问框架

c# - 使用 C# 使用 XDocument 解析 XML

html - 使用 flex 将元素定位到 div 的底部

python-3.x - 使用 Python selenium 单击 iframe 元素

android - YouTube数据API v3搜索JSON响应改造解析错误

javascript - YouTube 登录页面上的 javascript 如何发送表单数据?

php - 嵌入观看链接中的视频