mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
添加截图配置项
This commit is contained in:
1 parent
a146dc6812
commit
87e8cdc9e0
3 files changed
+5
-1
No files matched your search
@@ -59,7 +59,7 @@ export default class Controls {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
this.add(new Screenshot({
|
this.add(new Screenshot({
|
||||||
disable: false,
|
disable: !this.art.option.screenshot,
|
||||||
position: 'right',
|
position: 'right',
|
||||||
index: 20
|
index: 20
|
||||||
}));
|
}));
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ class Artplayer extends Emitter {
|
|||||||
height: 90,
|
height: 90,
|
||||||
column: 10
|
column: 10
|
||||||
},
|
},
|
||||||
|
screenshot: true,
|
||||||
autoplay: false,
|
autoplay: false,
|
||||||
loop: false,
|
loop: false,
|
||||||
type: '',
|
type: '',
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
screenshot: {
|
||||||
|
type: 'boolean'
|
||||||
|
},
|
||||||
autoplay: {
|
autoplay: {
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user