Use the new Dark Black Youtube Player in WordPress

youtube logo Use the new Dark Black Youtube Player in WordpressIts been a long time since youtube has launched its new beta Cosmic Panda interface with some really cool features . The new interfaces a new dark black player that is really better to see than the old grey one.

But if you want to embed a video in your Webpage/Wordpress blog youtube only provides you the old  version as the new Cosmic Panda is still in beta version. If you want to include the new player skin you would be required to make some changes in the ember code that you get from youtube.

<iframe width=”640″ height=”390″ src=”http://www.youtube.com/embed/SmM0653YvXU?rel=0″ frameborder=”0″ allowfullscreen></iframe>

Now you would be needed to change the code something like this.

<iframe width=”500″ height=”314″ src=”http://www.youtube.com/embed/SmM0653YvXU?rel=0&amp;theme=dark” frameborder=”0″ allowfullscreen></iframe>

The older embed code will be changed like this

<object width=”500″ height=”314″><param name=”movie” value=”http://www.youtube.com/v/SmM0653YvXU?version=3&amp;hl=en_US&amp;rel=0&amp;theme=dark“></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/SmM0653YvXU?version=3&amp;hl=en_US&amp;rel=0&amp;theme=dark” type=”application/x-shockwave-flash” width=”500″ height=”314″ allowscriptaccess=”always” allowfullscreen=”true”></embed></object>

 

Youtube says that it will be switching to the new player in a next couple of days but till then you will have to edit the code manually

Ashmeet Singh

I have just passed class 12 and am looking forward to making it into a good college. I have also been the writer of many blogs such as TechnoDesi,NewtrojansBlog,GammersLane etc. and this blog is my new endeavour in the field of technology.

You may also like...

1 Response

  1. Thanks for sharing, this is a fantastic blog.Much thanks again. Want more.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>