Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Firefox can't refresh player in latest version ?

3 replies [Last post]

Since Firefox got updated a lot of my users are complaining about the browser not beeing able to refresh the playlist. Even after F5, CTRL+R, JW Player still shows the old playlist.

Is there a way to fix this bug/compatibility problem ? Can we set the player so it force a refresh to the browser ?

Thx in advance !

Append a random number to the playlist file.

var rndNum = Math.round(1000 * Math.random());

'file': encodeURIComponent('playlist.xml?' + rndNum),

—or—

so.addVariable('file', encodeURIComponent('playlist.xml?' + rndNum);

Thanks hobbs ! Now it works !

P.S. See you have a small error in there (it's missing an ")" after rndNum) ).

 
Yeah, I found the missing parenthesis on the floor — it must have slipped off the screen — I'll use a bit more glue next time.

    Good Luck!