aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/plyr.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/plyr.scss')
-rw-r--r--src/sass/plyr.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sass/plyr.scss b/src/sass/plyr.scss
index 2f0193a8..f0d1df6f 100644
--- a/src/sass/plyr.scss
+++ b/src/sass/plyr.scss
@@ -180,7 +180,6 @@ $plyr-bp-captions-large: 768px !default; // When captions jump to the la
height: 100%;
border: 0;
user-select: none;
- pointer-events: none; // To allow mouse events to be captured
}
// Vimeo hack
@@ -189,6 +188,11 @@ $plyr-bp-captions-large: 768px !default; // When captions jump to the la
padding-bottom: 200%;
transform: translateY(-35.95%);
}
+
+ // To allow mouse events to be captured if full support
+ &.plyr iframe {
+ pointer-events: none;
+ }
}
// Captions