mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
修复subtitle:update事件
This commit is contained in:
1 parent
c933bd68e4
commit
965fccb985
1 file changed
+1
-1
@@ -39,8 +39,8 @@ export default class Subtitle {
|
||||
.split(/\r?\n/)
|
||||
.map(item => `<p>${item}</p>`)
|
||||
.join('');
|
||||
this.art.emit('subtitle:update', this.activeCue.text);
|
||||
}
|
||||
this.art.emit('subtitle:update', this.activeCue.text);
|
||||
}
|
||||
|
||||
switch(url, name = 'unknown') {
|
||||
|
||||
Reference in new issue
Block a user