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

Changing the background color


Hi,

Today I downloaded JWPlayer 6.9 and started a project with it. So far I did not run in any trouble, but then I wanted to change the background color (bewustwinkeleninfo.nl).

I think I went through all threads with regard to this issue, but unfortunately I have not been able to have this issue solved.

I made changes in jwplayer.js: I found hex codes and changed them in to white.


Any suggestions?

12 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Where are you running this with the changed js file?

paul

User  
0 rated :

In a self-hosted environment

paul

User  
0 rated :

I just noticed that in jwplayer.html5.js the background color can be edited. However, after changing the value from transparent to white, also the videos were not visible i.e.displaying anymore.

Ethan Feldman

JW Player Support Agent  
0 rated :

Going to need to see a link to debug properly.

paul

User  
0 rated :

Sorry, was away for a couple of days...

It's about http://www.bewustwinkeleninfo.nl

Ethan Feldman

JW Player Support Agent  
0 rated :

In jwplayer.html5.js, change:

background:"#000

To:

background:"#FFF

paul

User  
0 rated :

I edited the js-file and deleted the cache of the browser but unfortunately the background did not change.

Tested it Chrome, FF and IE

Ethan Feldman

JW Player Support Agent  
0 rated :

I did this on my local machine and the background definitely changed. Keep in mind, that autostarting will negate this since the content will always load right away.

paul

User  
0 rated :

I disabled autostart and - yes - now I'm getting a white background. But when I push the play-button, I still have a black background.

Ethan Feldman

JW Player Support Agent  
0 rated :

Because the video starts out black. It fades from black.

paul

User  
0 rated :

Oops, my apologies!

I thought that the black background was set by JW player. Anyway, thanks for the great support !

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

This question has received the maximum number of answers.