modestbranding not working for YouTube embed

2019-07-13 10:45发布

I'm trying to hide the YouTube logo that appears in the bottom right had corner of an embed. For some reason modestbranding=1 is not working:

<iframe class="gtms-intro" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" width="1280" height="720" src="https://www.youtube.com/embed/ywFGJecodxQ?rel=0&amp;controls=0&amp;showinfo=0&amp;autoplay=1&amp;loop=1&amp;modestbranding=1&amp;playlist=ywFGJecodxQ" frameborder="0"></iframe>

标签: youtube embed
4条回答
我欲成王,谁敢阻挡
2楼-- · 2019-07-13 11:02

If you have showinfo=0 at the same time as modestbranding=1 the YouTube logo will show even more prominent.

My conclusion is that there is no way to remove all links to youtube so you have to pick one.

These images show the visual when playing.

showinfo=0&modestbranding=0

enter image description here

showinfo=0&modestbranding=1

Hide info modestbranding

showinfo=1&modestbranding=1

showinfo hide logo

查看更多
神经病院院长
3楼-- · 2019-07-13 11:14

Combination of controls=0 and modestbranding=1 also gives a big YouTube logo at the right bottom corner. showinfo does nothing anymore since September 2018.

查看更多
贪生不怕死
4楼-- · 2019-07-13 11:18

Problem is with how you added the parameters. Inside the link you are supposed to add parameters like so:

"http://www.myLink.com?first_param=1&second_param=0&third_param=3"

No amp; in between. As a result, your iFrame is supposed to look like this:

<iframe class="gtms-intro" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" width="1280" height="720" src="https://www.youtube.com/embed/ywFGJecodxQ?rel=0&controls=0&showinfo=0&autoplay=1&loop=1&modestbranding=1&playlist=ywFGJecodxQ" frameborder="0"></iframe>

Hope it helped.

查看更多
爷的心禁止访问
5楼-- · 2019-07-13 11:27

I just noticed modestbranding stopped working for me when I added color=white but when I turned it to color=red the YT logo disappeared. Hope it helps someone with a similar issue.

查看更多
登录 后发表回答