jquery.html5loader icon indicating copy to clipboard operation
jquery.html5loader copied to clipboard

Preloading hangs forever on Chrome

Open sbeneitone opened this issue 8 years ago • 3 comments

Hi, and thank you for writing this plugin. It is really helpful to get around some of the annoying restrictions HTML5 video has in the name of automatic/smartness.

I'm building a website to run an interactive film I recently completed. I used this code to preload the video file (about 120mb), and it works very well on all browsers except chrome, which hangs forever about 2% into the load. I was wondering if anyone has run into this problem or has any suggestions?

Let me know if you need any more info. The test site is here if anyone wants to try to reproduce: http://beneitone.com/relative/index_preload2.html

Sam

EDIT: Basically what I'm trying to achieve is a website that completely preloads a 120MB video, so that it can be instantaneously seeked through (this is how the interaction is done). If anyone has any general advice about how to do this (flash?), I would greatly appreciate it.

sbeneitone avatar Mar 17 '16 20:03 sbeneitone

I have the same problem when loading audio, the onComplete callback is never called. This also happens only on google chrome.

imunizaga avatar Jan 16 '17 10:01 imunizaga

Just use the forceMediaPreload option and everything will be fine

GianlucaGuarini avatar Jan 16 '17 10:01 GianlucaGuarini

Hi, thanks for the response. The problem continues, even if I use forceMediaPreload: true or false.

The problem mightto be splice done to remove objects from the _files variable.

It seems to me that some objects are being removed from the list before they are loaded.

imunizaga avatar Jan 16 '17 11:01 imunizaga