mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 09:06:16 -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/)
|
.split(/\r?\n/)
|
||||||
.map(item => `<p>${item}</p>`)
|
.map(item => `<p>${item}</p>`)
|
||||||
.join('');
|
.join('');
|
||||||
|
this.art.emit('subtitle:update', this.activeCue.text);
|
||||||
}
|
}
|
||||||
this.art.emit('subtitle:update', this.activeCue.text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(url, name = 'unknown') {
|
switch(url, name = 'unknown') {
|
||||||
|
|||||||
Reference in new issue
Block a user