mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 21:01:20 -08:00
docs fix
This commit is contained in:
1 parent
6ff85de301
commit
17c34330b5
3 files changed
+894
-31
No files matched your search
+3
-3
@@ -1,5 +1,5 @@
|
||||
var url = 'https://blog.zhw-island.com/assets-cdn';
|
||||
var app = new Artplayer({
|
||||
var art = new Artplayer({
|
||||
container: '.artplayer-app',
|
||||
url: url + '/video/one-more-time-one-more-chance-480p.mp4',
|
||||
title: '【新海诚动画】『秒速5センチメートル』',
|
||||
@@ -35,8 +35,8 @@ var app = new Artplayer({
|
||||
{
|
||||
html: `<img style="width: 100px" src="${url}/image/your-name.png">`,
|
||||
click: function () {
|
||||
app.destroy(true);
|
||||
app = new Artplayer({
|
||||
art.destroy(true);
|
||||
art = new Artplayer({
|
||||
autoplay: true,
|
||||
container: '.artplayer-app',
|
||||
url: url + '/video/you-name.mp4'
|
||||
|
||||
Reference in new issue
Block a user