New Website


We have Launch new website "www.hackerzboys.com" more tips and tricks are available here


Remove YouTube Logo From Embed Videos


Recently YouTube announced in there blog that Publishers, website owners, and bloggers alike can now embed YouTube clips on their site without that pesky YouTube logo showing up on the player (like how the player appears on YouTube itself).  Here’s an example of the player without the YouTube logo:


How To Remove YouTube Logo

If you would like to remove the logo from the YouTube player before embedding it on to your website, you need to make a minor change to the default embed code as outlined below.

For the IFRAME version:


<iframe width="500" height="300"
  src="http://www.youtube.com/embed/abc?modestbranding=1"
  frameborder="0" allowfullscreen>
</iframe>

For the old OBJECT version:

<object width="500" height="314"> <param name="movie"
 value="http://www.youtube.com/v/abc?version=3&rel=0&modestbranding=1">
 </param><param name="allowFullScreen" value="true"></param>
 <param name="allowscriptaccess" value="always"></param>
  <embed type="application/x-shockwave-flash" width="500" height="300"
   src="http://www.youtube.com/v/abc?version=3&rel=0&modestbranding=1"
   allowscriptaccess="always" allowfullscreen="true">
  </embed>
</object>
Use the default embed code for a YouTube video and just add modestbranding=1 at the end of the video URL and the YouTube logo won't show up in the Flash Player.

The new "modestbranding" parameter for YouTube is supported for both Flash-based and IFRAME based embed codes (that are HTML5 compatible).

4 comments:

Post a Comment