return play() result

This commit is contained in:
Harvey committed 2021-12-01 10:39:44 +08:00
1 parent 3f21ce9223
commit 2c83ea4760
10 files changed
+52 -18

No files matched your search

+2 -1
View File
@@ -9,9 +9,10 @@ export default function pauseMix(art, player) {
def(player, 'pause', {
value() {
$video.pause();
const result = $video.pause();
notice.show = i18n.get('Pause');
art.emit('pause');
return result;
},
});
}