Can I preload multiple video resources to load in the same HTML5 <video> element?

Posted by Sergio1132 on Stack Overflow See other posts from Stack Overflow or by Sergio1132
Published on 2010-09-09T20:54:40Z Indexed on 2011/01/04 0:53 UTC
Read the original article Hit count: 146

Filed under:
|
|

I'm working out details on a web application which involves the sequential loading of a long series of (very short) video clips, one after the other, with occasional input from the user establishing new directions for which video clips to load.

I would like to be able to have the browser preload the video clips five at a time. However, the way that we currently have the site working is by means of a single video element which is having its src attribute continually updated through JavaScript.

So, my question is, is there a straightforward way I can get the browser to preload multiple video clips even though I am ultimately loading them all (one at a time) into the same video element?

This is my first question here, so let me know if I could have phrased that better...

© Stack Overflow or respective owner

Related posts about video

Related posts about html5