Sequentially-playing HTML5 Videos

In attempting to make a custom playlist for our video player, Kevin and I have been working on two key features: ability to take a subsection of a video and treat it as a “chapter”, and the ability to link multiple chapters together to create a playlist (or “book” if you prefer the literary analogy).

Either way, we’re close to getting everything working. Jumping around in a video works great, as does getting one video to jump to the next. The issue is getting the two to work together with events and timing being synchronized properly (see below):

Sequentially playing videos from one <video> tagOn slow network connections, events are being fired at inappropriate times, leaving videos to progress onto the next before the first has finished buffering. Perhaps we’ll have to move away from the timeout method of video advancement to get this to work, but either way our 0.1 release is shaping up for shipping out. With a few tweaks of course 🙂

Comments

One response to “Sequentially-playing HTML5 Videos”

  1. […] timing issues Steven and I were having regarding sequentially playing HTML5 videos. Steven posted this blog earlier about how we planned to handle playing different videos with different start and end times […]

Leave a Reply

Discover more from Software by Steven

Subscribe now to keep reading and get access to the full archive.

Continue reading