Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

modestbranding not working for YouTube embed

Tags:

youtube

embed

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>
like image 842
brandozz Avatar asked Nov 01 '16 03:11

brandozz


3 Answers

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.

like image 68
Bethuel Avatar answered Sep 19 '22 05:09

Bethuel


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

like image 27
hultqvist Avatar answered Sep 21 '22 05:09

hultqvist


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.

like image 21
Philipp Meissner Avatar answered Sep 17 '22 05:09

Philipp Meissner