Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

172
Views
What javascript event is triggered if ios low power mode is turned on in javascript?

I have a webpage that use html video and javascript to access the camera and allow the user to capture a frame.

<video autoplay loop muted playsinline></video>

This works fine on iphones until the "low power mode" is turned on. When the low power mode is turned on, safari overrides my styles and adds a play button on the screen. I want to be able to detect using javascript when low power mode is turned on so that I can add my own custom styles.

Is there a way I can achieve this? I found answers asking to use the "suspend" event handler. However, I found that safari emits this even with low power mode turned off and as a result I cannot rely on it.

Thanks.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!