Loading...

Tuesday, August 9, 2011

Change the Color of Youtube Player While Embedding

Youtube Videos are looking sexy these days with the introduction of new skin. Below are the two videos embedded using two different codes. One using the default iFrame code and the other using a customized iFrame code.

The default embed code allows you to use the metallic white skin while the customized code let you use the Youtube player with dark or light skin in your web pages.

If you ever wanted to display the Black Youtube player instead of the default skin, just use the customized iFrame code.

Default Code (Metallic White)


<iframe src="http://www.youtube.com/embed/zLKR3GdIK80" frameborder="0" height="349" width="560"></iframe>
For Black Youtube Player



<iframe src="http://www.youtube.com/embed/zLKR3GdIK80?theme=dark" frameborder="0" height="349" width="560"></iframe>
Simply add the parameter ?theme=dark or ?theme=light after the Youtube URL to embed the black Youtube Player on any website.

Note: This trick works only with the iFrame version and not the Old Embed Code.

Posted by // 8:56 PM
Labels: ,

0 comments:

Post a Comment

 

Receive all updates via Google+ and Facebook. Just Click the Like Button Below