Adding showinfo=0 to youtube iframe doesn't always work

↘锁芯ラ 提交于 2019-12-13 02:57:42

问题


I'm using the following code to add the Youtube video to the website (with showinfo=0 parameter):

<iframe width="560" height="315" src="https://www.youtube.com/embed/qTLOQCSwMpM?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>

showinfo=0 does successfully remove the top panel with share & watch later buttons in most browsers, but not everywhere.

I noticed that on Chrome 62.0.3202.94 on Windows 10 it's still showing that panel:

How do I get rid of it on all browsers?


回答1:


It will now work at all any more

showinfo has been deprecated since 25/09/2018.

https://developers.google.com/youtube/player_parameters#showinfo



来源:https://stackoverflow.com/questions/47670901/adding-showinfo-0-to-youtube-iframe-doesnt-always-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!