I am having problems with pending mp3 file request. I had a list of mp3 files and one player to play them. If I take a file that has already been uploaded, Chrome will block the request and show a “pending request” on the network tab of the developer’s tools.
All versions of Chrome seem to be affected.
Here is the solution I found:
player[0].setAttribute('src','video.webm?dummy=' + Date.now());
You simply add a dummy query string at the end of each URL. This causes Chrome to download the file again.
Another example with a popcorn player (using jquery):
url = $(this).find('.url_song').attr('url'); pop = Popcorn.smart( "#player_", url + '?i=' + Date.now());
This works for me. In fact, the resource is not stored in the caching system. This should also work the same. CSV files.
Necko Dec 01 '13 at 17:59 2013-12-01 17:59
source share