How to Remove YouTube’s Logo from Embedded Videos & Players
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:
So for example, the standard iFrame embed code you would get for a video like the one above would be:
<iframe width="560" height="349" src="http://www.youtube.com/embed/VIDEOID" frameborder="0" allowfullscreen></iframe>
In this case, you merely need to add "?modestbranding=1" to the end of the src= tag like so:
... src="http://www.youtube.com/embed/VIDEOID?modestbranding=1" ...
You would do the same, adding "?modestbranding=1" to each instance of the YouTube player URL for the old embed code -> like this:
<object width="560" height="349"> <param name="movie" value="http://www.youtube.com/v/VIDEOID?modestbranding=1&version=3&hl=en_US"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/VIDEOID?modestbranding=1&version=3&hl=en_US" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true"></embed> </object>
Issues, Tips & WorkArounds:
This only works if you use it as the first parameter after the video id. IE – it can not be added after any other parameters or it will break and the logo will reappear when the video starts. To illustrate what I mean, you can NOT do something like this:
... src="http://www.youtube.com/embed/VIDEOID?hd=1&modestbranding=1" ...
The modestbranding parameter needs to come first.
Additionally, this will not work with a few of the other embed player parameters like "showinfo" which can be used to set whether or not the title shows at the top of the video (0= no title). For whatever reason, if you continue to use "showinfo=0", the "modestbranding" parameter will not function as it’s supposed to and the logo will reappear when you press play.
As a work around to this, I discovered a new parameter that they dont publicize => "title=". So, if you would like to remove the logo AND you want to remove the title from the player, you need to structure the embed src player string as follows, leaving "title=" blank:
... src="http://www.youtube.com/embed/VIDEOID?modestbranding=1&title=" ...
As just a fun little note on this – I found out that you can actually change that title to be whatever you want. See this example.
More YouTube Embed Customization:
I’ve written a post in the past about how to customize the YouTube embed code HERE – which contains many of the additional embed player parameters that you can use to tweak your YouTube embeds. It’s a bit dated of a post but still relevant as all of the parameters can still be used with both the older AS2 and newest AS3 players. Additionally, these work with both the old object/embed code as well as the YouTube iFrame embed code.
©2008-2011 ReelSEO.com Online Video Guide