Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

174
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda