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

pauseWhenHidden not working #402

Open
ghost opened this issue Jun 20, 2022 · 3 comments
Open

pauseWhenHidden not working #402

ghost opened this issue Jun 20, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2022

No matter if i put pauseWhenHidden true or false the audio stops nevertheless when i switch tabs

@shnarobe
Copy link

shnarobe commented Jan 20, 2024

Yes, I experienced the same issue. According to the documentation: "pauseWhenHidden – whether to pause playback when the tab is inactive. Default true. Note that browsers usually throttle JS in inactive tabs anyway.", but it doesn't work. The audio/video stops regardless of the value of 'pauseWhenHidden'.

@phoboslab
Copy link
Owner

The audio/video stops regardless of the value of 'pauseWhenHidden'.

Yes, because

browsers usually throttle JS in inactive tabs anyway

Afaik there's the nothing we can do about this.

@shnarobe
Copy link

Thank you very much for responding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants