mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
remove art.once('video:loadedmetadata')
This commit is contained in:
1 parent
e225966202
commit
f160d8eb61
10 files changed
+372
-396
No files matched your search
@@ -9,9 +9,7 @@ export default class Subtitle extends Component {
|
||||
|
||||
this.name = 'subtitle';
|
||||
|
||||
art.once('video:loadedmetadata', () => {
|
||||
this.init(art.option.subtitle);
|
||||
});
|
||||
this.init(art.option.subtitle);
|
||||
}
|
||||
|
||||
get url() {
|
||||
|
||||
Reference in new issue
Block a user