mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
Update README.md
This commit is contained in:
1 parent
150e43d325
commit
2f56243068
1 file changed
+3
@@ -545,6 +545,9 @@ var url = 'https://zhw2590582.github.io/assets-cdn';
|
|||||||
var art = new Artplayer({
|
var art = new Artplayer({
|
||||||
container: '.artplayer-app',
|
container: '.artplayer-app',
|
||||||
url: url + '/video/one-more-time-one-more-chance-480p.mp4',
|
url: url + '/video/one-more-time-one-more-chance-480p.mp4',
|
||||||
|
subtitle: {
|
||||||
|
url: url + '/subtitle/one-more-time-one-more-chance.srt',
|
||||||
|
},
|
||||||
setting: true,
|
setting: true,
|
||||||
subtitleOffset: true,
|
subtitleOffset: true,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user