fix: youtube poster allow clickthrough while paused (#2172)

This commit is contained in:
Sam Potts 2021-04-18 16:59:00 +10:00 committed by GitHub
parent 438e425838
commit 951cccb6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}