添加实验性mse接口

This commit is contained in:
Harvey Zack committed 2018-11-24 13:53:18 +08:00
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 = [];
});