Updating the watcher list on video switching
This commit is contained in:
parent
db36b52574
commit
8223fbe543
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,6 @@ class VideoViewer {
|
||||||
|
|
||||||
this.events.fire("notify_following", { watcherId: undefined });
|
this.events.fire("notify_following", { watcherId: undefined });
|
||||||
this.events.fire("notify_video", { url: url });
|
this.events.fire("notify_video", { url: url });
|
||||||
this.notifyWatcherList();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async open() {
|
async open() {
|
||||||
|
@ -305,6 +304,7 @@ class VideoViewer {
|
||||||
this.plugin.setLocalFollowing(following, { status: "paused" });
|
this.plugin.setLocalFollowing(following, { status: "paused" });
|
||||||
else
|
else
|
||||||
this.plugin.setLocalWatcherStatus(this.currentVideoUrl, { status: "paused" });
|
this.plugin.setLocalWatcherStatus(this.currentVideoUrl, { status: "paused" });
|
||||||
|
this.notifyWatcherList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue