mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 09:36:16 -08:00
添加实验性mse接口
This commit is contained in:
1 parent
ec45141ced
commit
057bfb06c7
6 files changed
+189
-2
No files matched your search
@@ -53,9 +53,10 @@ function settingMix(art) {
|
||||
function artplayerPluginSubtitle(art) {
|
||||
const { clamp } = art.constructor.utils;
|
||||
const { setting, notice, refs, i18n } = art;
|
||||
let cuesCache = [];
|
||||
i18nMix(i18n);
|
||||
setting.add(settingMix);
|
||||
|
||||
let cuesCache = [];
|
||||
art.on('subtitle:switch', () => {
|
||||
cuesCache = [];
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user