7

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>
brandozz
  • 1,059
  • 6
  • 20
  • 38

5 Answers5

18

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.

Armali
  • 18,255
  • 14
  • 57
  • 171
Bethuel
  • 181
  • 1
  • 3
  • 1
    Yea, it's not officially documented, but `controls=0` and `modestbranding=1` don't seem to co-exist (`modestbranding` gets over-ridden to `0`). – Hassan Baig Apr 23 '20 at 09:23
  • 1
    in my tests, `modestbranding=1` does nothing. only `controls=0` has any effect. – aaronbauman Jun 17 '21 at 15:34
11

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

hultqvist
  • 17,451
  • 15
  • 64
  • 101
9

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.

Selim
  • 91
  • 1
  • 1
  • 1
    Wow! Yep, you are right. I have had color=white... Many, many thanks... – Sergio Mar 07 '19 at 23:45
  • 1
    Unfortunately intended behavior. In the docs it says "Note: Setting the color parameter to white will disable the modestbranding option." – jfadich Feb 18 '20 at 19:50
  • if one looking for [doc link](https://developers.google.com/youtube/player_parameters#color) – Hebe Aug 29 '22 at 16:38
6

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.

Philipp Meissner
  • 5,273
  • 5
  • 34
  • 59
0

This url is working fine for me.

https://www.youtube.com/embed/videoId?modestbranding=1&enablejsapi=1&widgetid=3&iv_load_policy=3&fs=0

Where videoId is the youtube id you can pass it dynmically.

Hope it helps to someone.

Pradeep Kumar
  • 586
  • 3
  • 19