avoid double subtitles
This commit is contained in:
parent
f08520e47f
commit
643327344d
1 changed files with 1 additions and 0 deletions
|
|
@ -249,6 +249,7 @@
|
||||||
const ass = new ASS(content, nextVideo, {
|
const ass = new ASS(content, nextVideo, {
|
||||||
container: subtitles,
|
container: subtitles,
|
||||||
});
|
});
|
||||||
|
sub_handlers[nextVideo.id]?.destroy()
|
||||||
sub_handlers[nextVideo.id] = ass
|
sub_handlers[nextVideo.id] = ass
|
||||||
ended()
|
ended()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue