martykan / webTube

Android wrapper for the YouTube website with a couple little tweaks.
GNU General Public License v3.0
96 stars 40 forks source link

Fix: Toggle FLAG_KEEP_SCREEN_ON to prevent the screen from timing out… #88

Closed ghost closed 6 years ago

ghost commented 7 years ago

… while video is playing.

ghost commented 7 years ago

Best practice is to use getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON). However these methods are both static, hence directly using the View class.

This fix does not work if the video is autoplayed (callback for onload required).

Rush commented 7 years ago

I wonder, why aren't these PRs getting merged? @BaFin do you have an apk with your change?

ghost commented 6 years ago

I think this project is not being maintained anymore. I have an apk, but don't have the time/energy to fork this project.

ghost commented 6 years ago

Has anyone tried contacting the author?