Fix video pausing on loading comments
This commit is contained in:
parent
29cbc22727
commit
cdec18dc68
|
|
@ -484,10 +484,9 @@
|
|||
|
||||
function pauseVideo(element) {
|
||||
video = findSibling(element, 'video');
|
||||
if (video) {
|
||||
video.pause();
|
||||
pauseAudio(video);
|
||||
}
|
||||
audio = findSibling(element, 'audio');
|
||||
if (video) video.pause();
|
||||
if (audio) audio.pause();
|
||||
}
|
||||
|
||||
function updateScrubBar(video, slider) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue