update docs

This commit is contained in:
Harvey committed 2021-12-09 15:09:04 +08:00
1 parent b6055b202a
commit 505c193331
41 files changed
+393 -122

No files matched your search

+1 -1
View File
@@ -81,7 +81,6 @@ export default class Subtitle extends Component {
if (newOption.name) {
notice.show = `${i18n.get('Switch subtitle')}: ${newOption.name}`;
}
this.art.emit('subtitleSwitch', subUrl);
return subUrl;
});
}
@@ -132,6 +131,7 @@ export default class Subtitle extends Component {
if (this.url === subUrl) return subUrl;
URL.revokeObjectURL(this.url);
this.art.template.$track.src = subUrl;
this.art.emit('subtitleSwitch', subUrl);
return subUrl;
})
.catch((err) => {