Reputation: 6197
Im using jwplayer, this is how I install it:
jwplayer("flowplayer1").setup({
file: '/path/to/video.flv',
width: '100%',
height: '100%',
autostart: true,
stretching: 'exactfit',
ratio: "100%",
responsive: true
});
the problem is, when this video.flv changes, the player plays the old video. It cant detect if the video changed on the disk, even if I refreshed the browser (newest Firefox)
Upvotes: 2
Views: 333
Reputation: 3786
The issue is not linked to JWPlayer, but with your browser cache. You can try to
add ?version=X at the end of your file to force browser cache invalidation
file: '/path/to/video.flv?version=X',
Upvotes: 3