aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/components/video.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/components/video.scss')
-rw-r--r--src/sass/components/video.scss10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/sass/components/video.scss b/src/sass/components/video.scss
index fdcf4f2d..e5f6fe87 100644
--- a/src/sass/components/video.scss
+++ b/src/sass/components/video.scss
@@ -14,11 +14,10 @@
.plyr__video-wrapper {
background: #000;
- border-radius: inherit;
+ height: 100%;
+ margin: auto;
overflow: hidden;
- position: relative;
- // Require z-index to force border-radius
- z-index: 0;
+ width: 100%;
}
// Default to 16:9 ratio but this is set by JavaScript based on config
@@ -33,12 +32,9 @@ $embed-padding: ((100 / 16) * 9);
.plyr__video-embed iframe,
.plyr__video-wrapper--fixed-ratio video {
border: 0;
- height: 100%;
left: 0;
position: absolute;
top: 0;
- user-select: none;
- width: 100%;
}
// If the full custom UI is supported