mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
typofix
This commit is contained in:
1 parent
3f33e98421
commit
88067817cd
18 files changed
+35
-40
No files matched your search
@@ -24,8 +24,8 @@ export default function screenshotMix(art, player) {
|
||||
});
|
||||
|
||||
Object.defineProperty(player, 'getScreenshotBlobUrl', {
|
||||
value: () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
value: () =>
|
||||
new Promise((resolve, reject) => {
|
||||
try {
|
||||
const canvas = document.createElement('canvas');
|
||||
canvas.width = $video.videoWidth;
|
||||
@@ -38,8 +38,7 @@ export default function screenshotMix(art, player) {
|
||||
notice.show(error);
|
||||
reject(error);
|
||||
}
|
||||
});
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
Object.defineProperty(player, 'screenshot', {
|
||||
|
||||
Reference in new issue
Block a user