Refined video player controls

Refs https://github.com/TryGhost/Team/issues/1229
This commit is contained in:
Sanne de Vries 2021-12-14 18:04:25 +01:00
parent e43fe45d24
commit e574a8f2b3
2 changed files with 1 additions and 1 deletions

View File

@ -109,6 +109,7 @@
.kg-video-hide-animated {
opacity: 0 !important;
transition: opacity .2s ease-in-out;
cursor: initial;
}
.kg-video-play-icon svg,

View File

@ -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();