mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-09-22 02:19: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 {
|
.kg-video-hide-animated {
|
||||||
opacity: 0 !important;
|
opacity: 0 !important;
|
||||||
transition: opacity .2s ease-in-out;
|
transition: opacity .2s ease-in-out;
|
||||||
|
cursor: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-video-play-icon svg,
|
.kg-video-play-icon svg,
|
||||||
|
@ -143,7 +143,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleOnPause = () => {
|
const handleOnPause = () => {
|
||||||
videoOverlay.classList.remove("kg-video-hide-animated");
|
|
||||||
pauseIconContainer.classList.add("kg-video-hide");
|
pauseIconContainer.classList.add("kg-video-hide");
|
||||||
playIconContainer.classList.remove("kg-video-hide");
|
playIconContainer.classList.remove("kg-video-hide");
|
||||||
videoEl.pause();
|
videoEl.pause();
|
||||||
|
Loading…
Reference in New Issue
Block a user