mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-11 08:43:59 +03:00
Refined video player controls
Refs https://github.com/TryGhost/Team/issues/1229
This commit is contained in:
parent
e43fe45d24
commit
e574a8f2b3
@ -109,6 +109,7 @@
|
||||
.kg-video-hide-animated {
|
||||
opacity: 0 !important;
|
||||
transition: opacity .2s ease-in-out;
|
||||
cursor: initial;
|
||||
}
|
||||
|
||||
.kg-video-play-icon svg,
|
||||
|
@ -143,7 +143,6 @@
|
||||
}
|
||||
|
||||
const handleOnPause = () => {
|
||||
videoOverlay.classList.remove("kg-video-hide-animated");
|
||||
pauseIconContainer.classList.add("kg-video-hide");
|
||||
playIconContainer.classList.remove("kg-video-hide");
|
||||
videoEl.pause();
|
||||
|
Loading…
Reference in New Issue
Block a user