Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JW Player 6 background colour


How can I change the default background color of the player? This seems to be black so a black rectangle appears while the player is loading a video. How can I set this to the same colour as the web page the player is on. Thanks

7 Community Answers

Ethan Feldman

JW Player Support Agent  
-1 rated :

What you should do here is set the “image” variable to an image on your web server, of the background color of your choice.

JW Player

User  
-1 rated :

Thanks for the reply. I'm already using the image variable. I'm talking about a black background before the image kicks in. I've also added css rules for the div and the object, and even tried loading up the basic skin and editing the back.png file in the display folder but I'm still seeing a black flash before the video loads.

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm, do you have a link?

JW Player

User  
0 rated :

Here is a link to a test page:

http://www.wisehat.com/wisecards/atest.html

The background, image etc are set to red but there's a black flash at the beginning and at the end.

Ethan Feldman

JW Player Support Agent  
0 rated :

See my other response to your other thread about this.

JW Player

User  
0 rated :

Thanks. I posted to the wrong thread so I'm adding what you wrote in the other thread below to complete this thread (:

bc.. Regarding the black Flash, that has to be changed in jwplayer.js, it seems.

For example, there is:
var D="#000000"
If you make it like this, it's red:
var D="#FF0000"

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

This question has received the maximum number of answers.