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

150
Visualizações
Problem with video in fullscreen mode in Ionic app

I´m developing an app with Ionic 5 and I've got the following problem:

I'm using the FullScreen API to activate full screen video. When the full screen is active, the header must also be visible.

I've tried with :fullscreen Css but the header is not in full screen, only the video.

This is the code:

<ion-header translucent="true">
    <ion-toolbar>
        <ion-title>Title</ion-title>
    </ion-toolbar>
</ion-header>

<ion-content>
    <video controls preload="metadata" autoplay src="video_url.mp4"></video>
</ion-content>

And part of the .ts:

const currentVideo = document.querySelector('video');

if (currentVideo.requestFullscreen) {
      currentVideo.requestFullscreen();
}

If the video is in full screen, can you see the ion-header in any way?

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