Hi. I’m working on this app: http://app.mywayapp.io/ (web version from platform browser).
If you click on the top bar (logo) you will go to a page with several cards. One of them contains videos from Vimeo. I added them like this:
22 <div class="iframeWrapper" *ngIf="v.video">
23 <iframe [src]="sanitizer.bypassSecurityTrustResourceUrl(v.video)" frameborder="0"
24 webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
25 </div>
123 .iframeWrapper {
124 position: relative;
125 padding-bottom: 56.25%;
126 padding-top: 25px;
127 height: 0;
128 iframe {
129 position: absolute;
130 top: 0;
131 left: 0;
132 width: 100%;
133 height: 100%;
134 }
135 }
The problem is that when you click the fullscreen button from inside the video it goes fullscreen but keeps behind the tabs bar, so it’s not possible to access video controls anymore (pause, time line, etc).
z-index
for the iframe (Chrome native) is already in a high level and tabs bar is just “10”.
Any suggestion? Thanks!