Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Prevent caching on MP4 urls


We have a url that keeps udating on Amazon S3 that we fetch with your API in JS.
Format is MP4 and it seems caching happens. How can we remove this please? Any idea?
All best.

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

I am afraid that I do not fully understand what you are asking.

What URL are you linking to? And are we hosting the MP4?

Anton

User  
0 rated :

Hi, it is a private url that I fetch: http://b4yvideos.s3.amazonaws.com/jour/001_R001_11_LAST.mp4
As you can see the format at the end contains LAST which means this video gets automatically changed on Amazon servers.
When I load it from the player, it seems I still get an old cache version and not the latest mp4 video.
Any idea how to force last video?

Todd

JW Player Support Agent  
0 rated :

Our player only requests the video URL that you put into the player setup. If your web host is returning the incorrect video from that URL request, then our player will not have a way to fix that. My suggestion would be to check with your contacts at the web host.

What if you add a cachebuster parameter to your video URL? like:

http://b4yvideos.s3.amazonaws.com/jour/001_R001_11_LAST.mp4?version=12188423

This question has received the maximum number of answers.