mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 05:41:20 -08:00
typofix
This commit is contained in:
1 parent
bdb050f0a7
commit
970e7e3b89
20 files changed
+23
-9
No files matched your search
@@ -17,6 +17,7 @@ export default class Subtitle {
|
||||
option: { subtitle },
|
||||
template: { $video, $subtitle },
|
||||
} = this.art;
|
||||
|
||||
setStyles($subtitle, subtitle.style || {});
|
||||
const $track = document.createElement('track');
|
||||
$track.default = true;
|
||||
@@ -65,7 +66,6 @@ export default class Subtitle {
|
||||
.catch(err => {
|
||||
notice.show(err);
|
||||
console.warn(err);
|
||||
throw err;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@ export default class Subtitle {
|
||||
i18n,
|
||||
notice,
|
||||
} = this.art;
|
||||
|
||||
setStyle($subtitle, 'display', 'none');
|
||||
this.state = false;
|
||||
notice.show(i18n.get('Hide subtitle'));
|
||||
|
||||
Reference in new issue
Block a user