diff options
author | Sam Potts <sam@potts.es> | 2018-08-02 00:47:03 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-08-02 00:47:03 +1000 |
commit | 7f4b74e2d43ed95a695f760f48e5b8e0792f9528 (patch) | |
tree | 8456332396352cce0afa3f9f598d2ffb11fdc0f6 /src | |
parent | 0892d69ba20f5d419655a8cacc450d7850abf336 (diff) | |
download | plyr-7f4b74e2d43ed95a695f760f48e5b8e0792f9528.tar.lz plyr-7f4b74e2d43ed95a695f760f48e5b8e0792f9528.tar.xz plyr-7f4b74e2d43ed95a695f760f48e5b8e0792f9528.zip |
Fix for hover over iframed players not showing controls
Diffstat (limited to 'src')
-rw-r--r-- | src/sass/components/poster.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sass/components/poster.scss b/src/sass/components/poster.scss index 15e87257..9b239d4f 100644 --- a/src/sass/components/poster.scss +++ b/src/sass/components/poster.scss @@ -7,16 +7,16 @@ background-position: 50% 50%; background-repeat: no-repeat; background-size: contain; - display: none; height: 100%; left: 0; - pointer-events: none; + opacity: 0; position: absolute; top: 0; + transition: opacity 0.2s ease; width: 100%; z-index: 1; } .plyr--stopped.plyr__poster-enabled .plyr__poster { - display: block; + opacity: 1; } |