force .flv refresh?
force .flv refresh?
- Started
- Last post
- 4 Responses
- anayafx
anybody know of a way to force refresh an .flv file being played by an swf?
I rewrote the .flv on the server but in firefox it continues to show the old movie.I know i can clear my cache but i want it for public viewers that wouldnt know the flv changed.
- skt0
change the name of the flv and update the flash file?
- joyride0
when you call the .flv file from the swf, a
- joyride0
umm... crap that wasn't the cancel button =( give me a sec and I'll post the solution
- joyride0
ok, when you call the .flv file from the swf, add ?=+new Date().getTime() to the end.
so it would look like this.
...play("theFlv.flv?"+new Date().getTime())
getTime() is better then a random number because technically it could hit the same number, once time has past, its not going to happen again