feat: Improve fullscreen functionality in mobile.html and fullscreenMix.js

This commit is contained in:
Harvey Zack committed 2024-06-01 09:42:47 +08:00
1 parent 80aa030aaa
commit 4f66533021
3 files changed
+3 -1

No files matched your search

@@ -42,6 +42,7 @@ export default function fullscreenMix(art) {
return $video.webkitDisplayingFullscreen;
},
set(value) {
console.log('set', value);
if (value) {
art.state = 'fullscreen';
$video.webkitEnterFullscreen();