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

Sleep Mode #105

Open
anikahhh opened this issue Dec 5, 2019 · 1 comment
Open

Sleep Mode #105

anikahhh opened this issue Dec 5, 2019 · 1 comment

Comments

@anikahhh
Copy link

@anikahhh anikahhh commented Dec 5, 2019

I want to play a short video in loop in fullscreen mode without the sleep mode to turn on.

I'm simply using the code from the examples? When playing the video on the afterglow website it works fine. What am I missing here?

Thanks for any help

@moay

This comment has been minimized.

Copy link
Owner

@moay moay commented Jan 17, 2020

Sleep mode is out of the scope of the video player. Thats something that browsers handle, you won't be able to force them to stay awake with a looping video. You could try to disable looping on the video player and then use events to replay the video when it ended. That could maybe do the trick, let me know if this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.