Skip to content

Commit

Permalink
fix(FEC-9014): when playing captions in Browser fullscreen, captions …
Browse files Browse the repository at this point in the history
…are hidden by control bar (#392)

fix css rule for native caption on ios for non native fullscreen mode
  • Loading branch information
Yuvalke committed Jun 11, 2019
1 parent 4585b16 commit 115f328
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/styles/_captions.scss
Expand Up @@ -26,6 +26,13 @@ $hovering-offset: 50px;
max-height: calc(100% - #{$hovering-offset});
}
}
&.fullscreen.iOS {
video::-webkit-media-text-track-display{
transform: translateY(-$hovering-offset);
-webkit-transform: translateY(-$hovering-offset);
-ms-transform: translateY(-$hovering-offset);
}
}
}
&.fullscreen.iOS {
video::-webkit-media-text-track-container {
Expand Down

0 comments on commit 115f328

Please sign in to comment.