I'm trying to change the custom colors for flvplayer in 1.2.6, but it's not being saved. I suspect there is a permission issue somewhere causing this, but I don't know where the color values are being saved. I can't find a database table for them, so I guess there's a file somewhere.
Does anyone know what file/directory should be writable to save the custom colors?
Cheers,
Thanks. I guess I didn't look hard enough.
It seems that the player is getting the values from the database, but the values are in the wrong format. They should be in [i]0x[/i]FFFFFF format, rather than [i]#[/i]FFFFFF format:
http://developer.longtailvideo.com/trac/wiki/Flashvars3#Thecolors
If I edit the database with the correct format, the player changes the colors fine, but not with the current format. I'm using 1.2.6 and player v3, by the way.
Also, I think there's a typo in "flvplayer.php" on line 151 that prevents the "frontcolor" loading:
so.addVariable("frontcolor","'.getOption('flv_player_frontkcolor').'");
Is that "k" an error in "'flv_player_frontkcolor'?
Thanks,
Richard
Thanks you are right actually, it is the wrong. Funny that no one ever noticed that since it must be there since, well, a long time.. Also thanks for the typo find. We will correct this in the nightly build. Note: The nightly and so the next 1.2.7 release will drop support for flv player v3.