Sunday, 15 May 2011

preload.js - preloading large amount of video files - some computers crash -


I am running a web-based experiment in which people will have to watch 100 second-second video (each 200km in size) After the second one is very important that there is no difference between the video, and so I preloading them before using preload.js. Experiment starts when all video loads 100%.

However, it is problematic for some people who say that the preload is crashing their browser. I am guessing what is the reason for the problem of RAM?

What could be a good way to go about solving this problem? Is this fashion loading video in poor behavior (how much data can I pre-load beforehand)?

It is unclear to your question whether this is a real preload process or a memory problem that allows viewers' browsers Crashing

Another strategy is to trigger the next video in the group at the beginning of the current video and to run it when the onended event is turned on.

P> Here are some pseudo codes that can help you get started:

  var loadNext, videoGetTime; VideoGetTime = Function (Ellie, Callback) {var Loading, Video; Video = $ (elephant); Loading = false; Video.one ('timeupdate', function (e) {var current time; current time = e. Original event target.comp.com time; if (current time> gt; = (video [0] duration / 2) & amp; Loading) {callback (); loading = true;}}); }; LoadNext = function (warning ('next loading'); }; Videogetimes ('# Video', LoadPen);  

and then

  video.on ('end', play the next video in the (// set) // //);  

No comments:

Post a Comment