diff options
author | Sam Potts <sam@potts.es> | 2021-04-18 16:59:00 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 16:59:00 +1000 |
commit | 951cccb6b0da4372db05f3696a6b558587b59d12 (patch) | |
tree | 097ac60fdbafa94d019e9043a312e69a8880db29 /src | |
parent | 438e42583859eed0d2e9fd1a00b9cdc32a71f9b4 (diff) | |
download | plyr-951cccb6b0da4372db05f3696a6b558587b59d12.tar.lz plyr-951cccb6b0da4372db05f3696a6b558587b59d12.tar.xz plyr-951cccb6b0da4372db05f3696a6b558587b59d12.zip |
fix: youtube poster allow clickthrough while paused (#2172)
Diffstat (limited to 'src')
-rw-r--r-- | src/sass/components/poster.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sass/components/poster.scss b/src/sass/components/poster.scss index 3a158c1b..788d819c 100644 --- a/src/sass/components/poster.scss +++ b/src/sass/components/poster.scss @@ -20,3 +20,8 @@ .plyr--stopped.plyr__poster-enabled .plyr__poster { opacity: 1; } + +// Allow interaction with YouTube controls while paused +.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster { + display: none; +} |