videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
38.11k stars 7.46k forks source link

Prefetch next m3u8 video with Video.js #8030

Open Devlin556 opened 1 year ago

Devlin556 commented 1 year ago

Description

Hello

I need to preload the next N videos via the Video.js API. My case is similar to Instagram Stories, when I'm watching the current story - I need a smooth transition to the next one, which should be partially loaded.

How should I do it? I tried using vanilla hls and didn't find a solution. I also tried an invisible player for the next story, but it looks weird. Does Video.js support this functionality?

Thank you!

What version of Video.js are you using?

7.3.26

What browser(s) including version(s) does this occur with?

Chrome 107

What OS(es) and version(s) does this occur with?

MacOs Ventura 13.0

welcome[bot] commented 1 year ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.