This is a message.

Change loading screen from black to white? Created May 21, 2009

This thread is solved

Views: 3395     Replies: 3     Last reply May 29, 2009  
You must login first before you can use this feature

vmg

Posts: 8

Registered:
Feb 6, 2009

Change loading screen from black to white?

Posted: May 21, 2009

I'm using FlowPlayer 3.1.1 commercial.

Flowplayer is in an a tag, with an image inside to act as my poster frame. When a user clicks on the poster frame, flowplayer loads and the video starts playing. There are two loading phases:

1. Larger loading image, against black background, no controlbar
2. Smaller loading image, against gradient background, with controlbar

I would like these loading phases to both be against a white background, rather than black. Flowplayer is configured with canvas:{background:'#fff', backgroundGradient:'none'}, but this only shows up after the video has finished playing; the initial loading is still on black.

Suggestions?

vmg

Posts: 8

Registered:
Feb 6, 2009

» Change loading screen from black to white?

Posted: May 29, 2009

Reply to: Change loading screen from black to white?, from vmg
Any ideas? Example here

Christian Ebert
Flowplayer support

Posts: 3024

Registered:
May 27, 2008

» Change loading screen from black to white?

Posted: May 29, 2009

Reply to: Change loading screen from black to white?, from vmg
Use the flash parameter bgcolor in the 2nd argument (note that it changes from string to array) to flowplayer:


flowplayer("containerid", {
  src: "/path/to/flowplayer.swf", bgcolor: "#ffffff"
}, {
  // player config
});

Here's further reading ;-)

vmg

Posts: 8

Registered:
Feb 6, 2009

» » Change loading screen from black to white?

Posted: May 29, 2009

Reply to: » Change loading screen from black to white?, from blacktrash
Brilliant - thanks blacktrash.

Works like a charm.