How to change the color of YouTube Player?

Posted by Prashant on August 11, 2011 in How To,Youtube

YouTube has made a change to the default theme of its embedded player. Not many people know are aware about this change but since yesterday i.e. 10th August , all embedded YouTube videos will have a dark theme for their YouTube Player. Dark player was finalized after months of design, research and experimentation and now will be default for all embedded videos.

How to get the lighter player theme for YouTube embedded videos?

Are you not happy because your website lighter theme doesn’t match with this new look and also wondering “how to change the color of YouTube player”. Don’t worry because to address such situation, YouTube has provided an option where you can choose to display lighter theme of YouTube player to match the color of your website. It would just need a small change in the code while embedding video.

For e.g. default embedded code for the above video is as shown below

<iframe width="560" height="349" src="http://www.youtube.com/embed/nGugj1ym594" frameborder="0"
allowfullscreen></iframe>

Change the YouTube player theme to match the website

<iframe width="560" height="349" src="http://www.youtube.com/embed/nGugj1ym594
?theme=light&color=red" frameborder="0" allowfullscreen></iframe>

In the above code we have added the code for a lighter theme with red color. Below is the output of changed embedded code.

After changing the embedded code you are able to get the lighter version of YouTube Player. Below there are other small changes that you can do to get the desired theme for YouTube player for your website.

 

youtube player themesGo ahead and do the experimentation with the code and embed videos on your website/blog. If you found this post informative please like us on our Facebook Page.

For similar tech tips on Google Plus, Facebook  & other amazing stuff please circle +Prashant Tyagi and +Apurva Tripathi on Google Plus.

Related Posts Plugin for WordPress, Blogger...

Comments on this entry are closed.