diff options
author | Sam Potts <me@sampotts.me> | 2016-01-13 23:12:16 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2016-01-13 23:12:16 +1100 |
commit | bc67d969cbba42b5a93866c42c8b49facf532a49 (patch) | |
tree | eb1868fe045976ff3389b75cd83bd27fddc566d3 /src/less | |
parent | c449fc08675f9a99c3efa8c6dcdca46b5994e505 (diff) | |
download | plyr-bc67d969cbba42b5a93866c42c8b49facf532a49.tar.lz plyr-bc67d969cbba42b5a93866c42c8b49facf532a49.tar.xz plyr-bc67d969cbba42b5a93866c42c8b49facf532a49.zip |
Froogaloop fixes (custom version), docs sprite, source api changes
Diffstat (limited to 'src/less')
-rw-r--r-- | src/less/plyr.less | 9 |
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; |