mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
add subtitle:offset event
This commit is contained in:
1 parent
c162d8493b
commit
663037cb95
3 files changed
+3
-1
No files matched your search
@@ -61,6 +61,7 @@ function artplayerPluginSubtitle(art) {
|
||||
cue.endTime = cuesCache[index].endTime + time;
|
||||
});
|
||||
notice.show(`${i18n.get('Subtitle offset time')}: ${value}s`);
|
||||
art.emit('subtitle:offset', value);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user