mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
update ts
This commit is contained in:
1 parent
7dfe78a95d
commit
69563e818b
10 files changed
+353
-120
No files matched your search
@@ -43,9 +43,10 @@ export default function screenshotMix(art, player) {
|
||||
|
||||
def(player, 'screenshot', {
|
||||
value: () => {
|
||||
player.getDataURL().then((dataUri) => {
|
||||
return player.getDataURL().then((dataUri) => {
|
||||
download(dataUri, `${option.title || 'artplayer'}_${secondToTime($video.currentTime)}.png`);
|
||||
art.emit('screenshot', dataUri);
|
||||
return dataUri;
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user