fix: Solving the video still playing on close window.

This commit is contained in:
sergiotarxz 2021-01-21 23:28:46 +01:00
parent 9795d5856e
commit a7925763a8
Signed by untrusted user who does not match committer: sergiotarxz
GPG Key ID: E5903508B6510AC2

View File

@ -10,6 +10,7 @@ class VideoContainer {
if (option) {
this.element.classList.add('active');
} else {
this.video.pause();
this.element.classList.remove('active');
this.downloadVideoPrepare.classList.add('active');
this.downloadVideoLoading.classList.remove('active');