mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
修复demo尺寸
This commit is contained in:
1 parent
d512d9f8f0
commit
7c5d0f7385
2 files changed
+10
-27
No files matched your search
@@ -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">',
|
||||
|
||||
Reference in new issue
Block a user