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

Atmospheric Video in Low Power Mode #26

Open
cyokum opened this issue Jul 24, 2018 · 6 comments
Open

Atmospheric Video in Low Power Mode #26

cyokum opened this issue Jul 24, 2018 · 6 comments
Assignees

Comments

@cyokum
Copy link

cyokum commented Jul 24, 2018

Videos will not play in low power mode.

@nhall
Copy link
Collaborator

nhall commented Jul 25, 2018

Support for the battery API is lacking so we'll have to try and figure out an alternative.

@jemaleddin
Copy link

I was trying to figure out how to detect this situation which led to this StackOverflow post:

https://stackoverflow.com/questions/50400902/detect-if-ios11-device-is-in-low-power-mode-to-prevent-bad-ux-on-normally-correc

Which suggests reading this:

https://webkit.org/blog/6784/new-video-policies-for-ios/

Where it seems like if we just added "autoplay" to the video tag created by the background plugin that it would work? I was playing around on the W3 demo page on my phone with low power mode on after editing the code to include playsinline and autoplay and remove controls from the video tag and it seemed to work?

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_video_autoplay

@nhall
Copy link
Collaborator

nhall commented Jul 26, 2018

@mimoduo, do you want to try doing this on Concordia and see if that works? It looks like you could set autoplay the same place playsinline is added:

https://github.com/Formstone/Formstone/blob/master/src/js/background.js#L338

@nhall nhall assigned mimoduo and unassigned nhall Aug 10, 2018
@nhall
Copy link
Collaborator

nhall commented Mar 19, 2019

@mimoduo: did anything ever come out of that project?

@mimoduo
Copy link
Contributor

mimoduo commented Mar 19, 2019

Yes, don't do atmospheric video on mobile.

@nhall
Copy link
Collaborator

nhall commented Mar 20, 2019

@mimoduo: No need for a smart response. Following up on something you didn't respond to for eight months.

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

4 participants