November 14, 2011

Hide YouTube Logo on Embedded Videos

YouTube API has gone through several changes and new features are added every now and then. I was often asked the question that if there is a way to hide or remove the YouTube logo on embedded videos. I always said that I am worried about YouTube TOS until I stumbled upon the updated list of YouTube embedded player parameters. I noticed a couple of changes, in particular, the modestbranding parameter added on June 8, 2011. This parameter works in AS3 embedded player; so if you're using an older version of the player you must switch to AS3 to take advantage of this parameter. Here is how:

  • If the YouTube video URL in your embed code does not contain version parameter, add version=3 to load AS3 player. The AS3 player looks aesthetically pleasing and provides additional features compared to AS2 player (see demo below).
  • AS2 player showed the logo overlaid on the lower right corner of the video while AS3 player displays the YouTube logo in the controls panel. To remove this logo altogether, add modestbranding=1 parameter to the YouTube video URL in your embed code.

YouTube AS2 Embedded Player

You need Flash player 8+ and JavaScript enabled to view this video.

YouTube AS3 Embedded Player

You need Flash player 8+ and JavaScript enabled to view this video.

YouTube AS3 Embedded Player with "Modest Branding"

You need Flash player 8+ and JavaScript enabled to view this video.