Embed videos:
You can add a YouTube video or playlist to a website or blog by embedding it.
How to Remove the YouTube Logo from Embedded Videos
If you want to embed a YouTube video on your website without the YouTube logo appearing in the player, you can achieve this by making a small adjustment to the default embed code. Here’s how to do it:
Default YouTube Embed Code
By default, the YouTube embed code looks like this:
<iframe src="http://www.youtube.com/embed/-hX_rznqnM0" height="350" width="575"></iframe>
Modify the Embed Code to Remove the Logo
To reduce YouTube branding and remove the logo from the embedded player, add the modestbranding=1
parameter to the video URL as follows:
<iframe src="http://www.youtube.com/embed/-hX_rznqnM0?modestbranding=1" height="350" width="575"></iframe>
Explanation of the modestbranding
Parameter
The modestbranding
parameter is compatible with both Flash-based and HTML5-compatible IFRAME embed codes. When enabled (modestbranding=1
), it minimizes the YouTube branding by removing the YouTube logo from the player.
Update on showinfo=0
Parameter
Previously, it was common to pair modestbranding=1
with showinfo=0
to hide additional video information. However, the showinfo
parameter has been deprecated. Without showinfo
, the YouTube player may display minimal branding in certain cases, such as a small overlay in the upper-right corner when the video is paused.
According to Brian Glick from YouTube:
The
modestbranding
option removes most branding but may still show a small “YouTube” text overlay in specific scenarios. Ifshowinfo=0
is used withmodestbranding=1
, the overlay branding is removed entirely, leaving the video player logoless.
By simply using modestbranding=1
, you can significantly reduce the visibility of YouTube branding while maintaining a clean and professional appearance for your embedded videos.