Site icon Code Exercise

How To Delete (Remove) YouTube Logo From Embed ?

YouTube allows to share videos on your websites, blogs and anywhere you want, all you need is to copy and paste the link or embed Code. There may be times, when you don’t want YouTube logo to appear on the embedded video, but you don’t know how to work it. The potentially-huge news is that YouTube has enabled publishers to Delete YouTube logo from embedded videos.

This video player has a YouTube logo in the control bar (bottom right)..

.. while the player embedded below carries no such logo.

How To Delete (Remove) YouTube Logo From Embed

How To Delete YouTube Logo From Embedded?

If you would like to remove the logo from the YouTube player before embedding it on to your website, all you need to do is make a minor edit to the default embed code that is provided by YouTube.

So, although this is not a default option within the embed code box on YouTube videos, this can be done quite simply by adding the following to the end of a YouTube embed URL:

?modestbranding=1

The default YouTube embed code for a video is something like:

<iframe width="560" height="315" src="https://www.youtube.com/embed/UbiPT5VMo8E" frameborder="0" allowfullscreen></iframe>

If you would like to remove the YouTube branding and logo from the embedded player, add modestbranding=0 to the YouTube video URL as shown below:

<iframe width="560" height="315" src="https://www.youtube.com/embed/UbiPT5VMo8E?modestbranding=1" frameborder="0" allowfullscreen></iframe>

Note : If you are using ?showinfo=0, to remove the title from the top of the embedded video, ?modestbranding=1 will not work, and the logo will appear.

Exit mobile version