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

149
Views
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
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!