diff options
Diffstat (limited to 'src/scss')
-rw-r--r-- | src/scss/plyr.scss | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/scss/plyr.scss b/src/scss/plyr.scss index 08f41920..e75a2eda 100644 --- a/src/scss/plyr.scss +++ b/src/scss/plyr.scss @@ -181,9 +181,12 @@ .plyr__video-embed { padding-bottom: 56.25%; /* 16:9 */ height: 0; - overflow: hidden; border-radius: inherit; + // Require overflow and z-index to force border-radius + overflow: hidden; + z-index: 0; + iframe { position: absolute; top: 0; @@ -741,6 +744,10 @@ height: 100%; width: 100%; } + .plyr__video-embed { + // Revert overflow change + overflow: visible; + } .plyr__controls { position: absolute; bottom: 0; |