Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
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.