mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
build all packages
This commit is contained in:
1 parent
773714f739
commit
89fecf5488
22 files changed
+60
-57
No files matched your search
@@ -905,7 +905,7 @@ var art = new Artplayer({
|
||||
url: url + '/video/one-more-time-one-more-chance-480p.mp4',
|
||||
});
|
||||
|
||||
art.on('firstCanplay', () => {
|
||||
art.once('video:canplay', () => {
|
||||
art.player.seek(5);
|
||||
art.player.screenshot();
|
||||
});
|
||||
@@ -1142,7 +1142,7 @@ var art = new Artplayer({
|
||||
},
|
||||
});
|
||||
|
||||
art.on('firstCanplay', () => {
|
||||
art.once('video:canplay', () => {
|
||||
art.subtitle.init(url + '/subtitle/one-more-time-one-more-chance.vtt');
|
||||
});
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user