mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
Update screenshotMix.js
This commit is contained in:
1 parent
09a6c67c75
commit
966e25d13a
1 file changed
+1
-1
@@ -23,7 +23,7 @@ export default function screenshotMix(art, player) {
|
||||
},
|
||||
});
|
||||
|
||||
Object.defineProperty(player, 'downloadScreenshot', {
|
||||
Object.defineProperty(player, 'screenshot', {
|
||||
value: () => {
|
||||
const dataUri = player.getScreenshotDataURL();
|
||||
if (dataUri) {
|
||||
|
||||
Reference in new issue
Block a user