mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
Update README.md
This commit is contained in:
1 parent
8ffa1ff2da
commit
3baa3d5720
1 file changed
+2
-2
+2
-2
@@ -54,7 +54,7 @@ DOM container of the player
|
|||||||
[Run Code](/)
|
[Run Code](/)
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var url = 'https://blog.zhw-island.com/assets-cdn';
|
var url = 'https://zhw2590582.github.io/assets-cdn';
|
||||||
var art = new Artplayer({
|
var art = new Artplayer({
|
||||||
container: '.artplayer-app',
|
container: '.artplayer-app',
|
||||||
// container: document.querySelector('.artplayer-app'),
|
// container: document.querySelector('.artplayer-app'),
|
||||||
@@ -82,7 +82,7 @@ Video source url, Three video file formats are supported: `mp4`, `ogg`, `webm`
|
|||||||
[Run Code](/)
|
[Run Code](/)
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var url = 'https://blog.zhw-island.com/assets-cdn';
|
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',
|
||||||
|
|||||||
Reference in new issue
Block a user