添加截图配置项

This commit is contained in:
Harvey Zack committed 2018-10-26 17:08:10 +08:00
1 parent a146dc6812
commit 87e8cdc9e0
3 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -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
})); }));
+1
View File
@@ -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: '',
+3
View File
@@ -55,6 +55,9 @@ export default {
} }
} }
}, },
screenshot: {
type: 'boolean'
},
autoplay: { autoplay: {
type: 'boolean' type: 'boolean'
}, },