Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can change YouTube player color. You all must have noticed YouTube changed their player color on their website and soon they are going to change the default color from white to black on every website where YouTube videos are embedded. So if you don’t want to change your YouTube player color here what you can do.
You need to add some parameter called theme and color at the end of URL while embedding videos, for example if you would like to embed light color player then this is how you player code may look like
<iframe width="516" height="323" src="http://www.youtube.com/embed/VIDEO-ID?theme=light&color=white"></iframe>
<object width="516" height="323"> <param name="movie" value="http://www.youtube.com/v/VIDEO-ID?theme=light&color=white"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/VIDEO-ID?theme=light&color=white" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="516" height="323"></embed> </object>
Make sure that there is a ? (question mark) before theme parameter. In below image you can see the values that you can use for theme and color parameter.
As YouTube soon changing default color so if you want to keep the old theme then you need to make these changes in every player that you have embedded till now. It will work in both new (iframe) and old (object) YouTube player code.