mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
feat: update subtitle properties and events to enhance cue management and retrieval
This commit is contained in:
1 parent
8ea85476e0
commit
c0c5a12010
20 files changed
+4319
-2276
No files matched your search
@@ -111,7 +111,7 @@ export default class Subtitle extends Component {
|
||||
$newTrack.label = option.subtitle.name || 'Artplayer';
|
||||
$newTrack.track.mode = 'hidden';
|
||||
$newTrack.onload = () => {
|
||||
this.art.emit('subtitleLoad', this.option, this.cues);
|
||||
this.art.emit('subtitleLoad', this.cues, this.option);
|
||||
};
|
||||
|
||||
this.eventDestroy();
|
||||
|
||||
Reference in new issue
Block a user