mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -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({
|
||||
disable: false,
|
||||
disable: !this.art.option.screenshot,
|
||||
position: 'right',
|
||||
index: 20
|
||||
}));
|
||||
|
||||
@@ -53,6 +53,7 @@ class Artplayer extends Emitter {
|
||||
height: 90,
|
||||
column: 10
|
||||
},
|
||||
screenshot: true,
|
||||
autoplay: false,
|
||||
loop: false,
|
||||
type: '',
|
||||
|
||||
@@ -55,6 +55,9 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
screenshot: {
|
||||
type: 'boolean'
|
||||
},
|
||||
autoplay: {
|
||||
type: 'boolean'
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user