我的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/