合并字幕插件

This commit is contained in:
Harvey Zack committed 2018-12-02 09:31:54 +08:00
1 parent 6c61a5678b
commit acdb272393
17 files changed
+149 -165

No files matched your search

+6 -6
View File
@@ -1124,11 +1124,11 @@ art.contextmenu.yourContextmenu.hide();
- Type: `Object`
| propertie | type | Description |
| --------- | ---------- | --------------- |
| `switch` | `Function` | Switch subtitle |
| `show` | `Function` | Show subtitle |
| `hide` | `Function` | Hide subtitle |
| propertie | type | Description |
| --------- | ---------- | ------------- |
| `init` | `Function` | Init subtitle |
| `show` | `Function` | Show subtitle |
| `hide` | `Function` | Hide subtitle |
[Run Code](/)
@@ -1143,7 +1143,7 @@ var art = new Artplayer({
});
this.art.on('firstCanplay', () => {
art.subtitle.switch(url + '/subtitle/one-more-time-one-more-chance.vtt');
art.subtitle.init(url + '/subtitle/one-more-time-one-more-chance.vtt');
});
```