修复demo尺寸

This commit is contained in:
zhw2590582 committed 2019-11-21 20:54:24 +08:00
1 parent d512d9f8f0
commit 7c5d0f7385
2 files changed
+10 -27

No files matched your search

+2 -11
View File
@@ -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: '<img src="./assets/img/ploading.gif">',