forked from sergiotarxz/Peertube-dl
fix: Solving the video still playing on close window.
This commit is contained in:
parent
9795d5856e
commit
a7925763a8
@ -10,6 +10,7 @@ class VideoContainer {
|
|||||||
if (option) {
|
if (option) {
|
||||||
this.element.classList.add('active');
|
this.element.classList.add('active');
|
||||||
} else {
|
} else {
|
||||||
|
this.video.pause();
|
||||||
this.element.classList.remove('active');
|
this.element.classList.remove('active');
|
||||||
this.downloadVideoPrepare.classList.add('active');
|
this.downloadVideoPrepare.classList.add('active');
|
||||||
this.downloadVideoLoading.classList.remove('active');
|
this.downloadVideoLoading.classList.remove('active');
|
||||||
|
Loading…
Reference in New Issue
Block a user