Fix mobile subtitle

This commit is contained in:
Harvey committed 2022-09-07 15:38:53 +08:00
1 parent ce2184f016
commit 489b81bb43
9 files changed
+92 -51

No files matched your search

@@ -31,7 +31,7 @@ export default function fullscreenMix(art) {
await screenfull.exit();
removeClass($player, 'art-fullscreen');
art.emit('resize');
art.emit('fullscreen');
art.emit('fullscreen', false);
notice.show = '';
}
},
@@ -51,7 +51,7 @@ export default function fullscreenMix(art) {
notice.show = '';
} else {
$video.webkitExitFullscreen();
art.emit('fullscreen');
art.emit('fullscreen', false);
notice.show = '';
}
},
@@ -24,7 +24,7 @@ export default function fullscreenWebMix(art) {
art.aspectRatioReset = true;
art.autoSize = art.option.autoSize;
art.emit('resize');
art.emit('fullscreenWeb');
art.emit('fullscreenWeb', false);
notice.show = '';
}
},
+1 -1
View File
@@ -87,7 +87,7 @@ export default function miniMix(art) {
art.playbackRate = false;
art.autoSize = option.autoSize;
art.notice.show = '';
art.emit('mini');
art.emit('mini', false);
}
},
});
+2 -2
View File
@@ -34,7 +34,7 @@ function nativePip(art) {
});
proxy($video, 'leavepictureinpicture', () => {
art.emit('pip');
art.emit('pip', false);
});
}
@@ -54,7 +54,7 @@ function webkitPip(art) {
art.emit('pip', true);
} else {
$video.webkitSetPresentationMode('inline');
art.emit('pip');
art.emit('pip', false);
}
},
});