Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: official event for pausing and starting preloading #853

Open
1 task done
szymonhernik opened this issue Dec 14, 2023 · 1 comment
Open
1 task done
Labels
enhancement New feature or request mux-video Relates to mux-video element

Comments

@szymonhernik
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply

mux-player, mux-player-react

Description

I wish there was an option that stops preloading/buffering after you start the video. This would be useful in cases like when the video leaves the screen stop fetching the video data. Currently, I found a walkaround this by doing _hls.stopLoad() and _hls.stopLoad() on the player but I don't think this is official solution.

This has been discussed here as well:
#422

Expected Behavior

Stop and start prerendering video data after calling a function.

@szymonhernik szymonhernik added the enhancement New feature or request label Dec 14, 2023
@mmcc mmcc added the mux-video Relates to mux-video element label Dec 16, 2023
@mmcc
Copy link
Contributor

mmcc commented Dec 16, 2023

Yeah, agreed, having to dig into the underlying playback tech directly to do this doesn't feel right. Thanks for the feedback, let us think on what the path could look like here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mux-video Relates to mux-video element
Projects
None yet
Development

No branches or pull requests

2 participants