-
Say I have a bunch of video elements on a single page, and I want to only use bandwidth on the ones that are currently visible in the user's viewport (i.e. not waste bandwidth buffering offscreen videos). In the past, with a plain HTML5 Can you recommend a way to accomplish something like this with Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Good question. This is possible by using the |
Beta Was this translation helpful? Give feedback.
-
Currently there is no idiomatic way to do that. Good idea to bring up to the team. There is a undocumented |
Beta Was this translation helpful? Give feedback.
Currently there is no idiomatic way to do that. Good idea to bring up to the team.
There is a undocumented
muxVideo._hls
property that returns the instance of hls.js.With access to that you could disable loading. I believe
muxVideo._hls.stopLoad()
should do it. Cheers!