fixing videos not being unloaded when closed

This commit is contained in:
2022-04-03 19:19:44 +10:00
parent 16fef709f6
commit d231297a5d
2 changed files with 10 additions and 2 deletions

View File

@@ -339,7 +339,10 @@ function openFinder(dir) {
postMessage(['openFinder', dir], '*')
}
function stopVideo() {
document.getElementById('video').pause()
video=document.getElementById('video')
video.pause()
video.src=''
//document.getElementById('video').pause()
}
function copyImgUrl() {
var murl = $('#imagemodal').attr('data-original')