From 7c5d0f7385edf4f0a515fff7e59974352669438c Mon Sep 17 00:00:00 2001 From: zhw2590582 Date: Thu, 21 Nov 2019 20:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddemo=E5=B0=BA=E5=AF=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/assets/example/index.js | 13 ++----------- docs/index.html | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/docs/assets/example/index.js b/docs/assets/example/index.js index 51ed95135..97e7ba2e0 100644 --- a/docs/assets/example/index.js +++ b/docs/assets/example/index.js @@ -21,7 +21,7 @@ var art = new Artplayer({ subtitleOffset: true, miniProgressBar: true, localVideo: true, - localSubtitle: true, + localSubtitle: false, networkMonitor: false, autoPip: true, mutex: true, @@ -108,21 +108,12 @@ var art = new Artplayer({ { name: 'localVideo', position: 'right', - html: 'VIDEO', + html: 'OPEN', tooltip: 'Open Local Video', mounted: $preview => { art.plugins.localVideo.attach($preview); }, }, - { - name: 'localSubtitle', - position: 'right', - html: 'SUBTITLE', - tooltip: 'Open Local Subtitle', - mounted: $preview => { - art.plugins.localSubtitle.attach($preview); - }, - }, ], icons: { loading: '', diff --git a/docs/index.html b/docs/index.html index b2f1aad2b..0b14a4be9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -29,31 +29,25 @@