mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed video not playing sometimes via player controls
refs https://github.com/TryGhost/Team/issues/1229
This commit is contained in:
parent
ae2a782987
commit
04baa88c23
1 changed files with 4 additions and 2 deletions
|
@ -154,11 +154,13 @@
|
||||||
handleOnPlay();
|
handleOnPlay();
|
||||||
});
|
});
|
||||||
|
|
||||||
playIconContainer.addEventListener('click', () => {
|
playIconContainer.addEventListener('click', (event) => {
|
||||||
|
event.stopPropagation();
|
||||||
handleOnPlay();
|
handleOnPlay();
|
||||||
});
|
});
|
||||||
|
|
||||||
pauseIconContainer.addEventListener('click', () => {
|
pauseIconContainer.addEventListener('click', (event) => {
|
||||||
|
event.stopPropagation();
|
||||||
handleOnPause();
|
handleOnPause();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue