aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/plyr.less
diff options
context:
space:
mode:
Diffstat (limited to 'src/less/plyr.less')
-rw-r--r--src/less/plyr.less9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/less/plyr.less b/src/less/plyr.less
index 7db6c021..e7b4ca01 100644
--- a/src/less/plyr.less
+++ b/src/less/plyr.less
@@ -158,6 +158,11 @@
box-sizing: border-box;
}
+ // Fix 300ms delay
+ a, button, input, label {
+ touch-action: manipulation;
+ }
+
// Screen reader only elements
&__sr-only {
position: absolute !important;
@@ -637,7 +642,7 @@
}
// Hide controls when playing in full screen
- &--fullscreen--hide-controls&--fullscreen-active.plyr--playing {
+ &--fullscreen--hide-controls&--fullscreen-active&--playing {
.plyr__controls {
transform: translateY(100%) translateY(@control-spacing / 2);
transition: transform .3s .2s ease;
@@ -654,7 +659,7 @@
// Captions
&--fullscreen .plyr__captions,
&--fullscreen-active .plyr__captions,
- &--fullscreen--hide-controls&--fullscreen-active&--playing&--hover .plyr__captions {
+ &--fullscreen--hide-controls&--fullscreen-active&--playing&--hover &__captions {
top: auto;
bottom: 90px;