We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HTML5 videos fail to keep a device awake if playing in full screen
Rerpro:
cordova create testVideo
cordova platform add android
body
<video controls width="300" src="https://d2zihajmogu5jn.cloudfront.net/big-buck-bunny/bbb.mp4"></video>
cordova run android
Video should play keeping the device awake.
The screen goes dark after some time and then the device falls asleep (you can change display timeout in settings).
If you do not switch to full screen the device stays awake as expected.
If you reverse steps 5 and 6 (switch to full screen first then start playing video) then the device stays awake as expected. 😕
I tested on a tablet with Android version 9 and on a phone with Android version 8.
Cordova CLI: 11.1.0 Cordova Android Platform: 10.1.2
The text was updated successfully, but these errors were encountered:
@chuchuva Please assign it to me I'll work on it
Sorry, something went wrong.
@dcode333 Thank you! Unfortunately I don't have permissions to assign this issue to you but I believe you can still work on it and then submit a pull request, see Get involved in Open Source today - How to contribute a patch to a GitHub hosted Open Source project
No branches or pull requests
Bug Report
HTML5 videos fail to keep a device awake if playing in full screen
Problem
Command or Code
Rerpro:
cordova create testVideo
cordova platform add android
body
tag:cordova run android
What is expected to happen?
Video should play keeping the device awake.
What does actually happen?
The screen goes dark after some time and then the device falls asleep (you can change display timeout in settings).
Information
If you do not switch to full screen the device stays awake as expected.
If you reverse steps 5 and 6 (switch to full screen first then start playing video) then the device stays awake as expected. 😕
Environment, Platform, Device
I tested on a tablet with Android version 9 and on a phone with Android version 8.
Version information
Cordova CLI: 11.1.0
Cordova Android Platform: 10.1.2
Checklist
The text was updated successfully, but these errors were encountered: