Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 68

iOS Deployment • Browser widget exit fullscreen detection fails IOS

$
0
0
Hi Livecodes,

I have the browser widget set with an iframe stream where I want to detect full screen exit by the user. I have set the html with multiple listers which work on all platform apart from IOS. Can anyone provide some insight into why only IOS behaves this way and if there is any work around for this issue. See my JavaScript listers are below. Maybe I am missing something. I have tried a couple of workarounds but no luck at the moment.

CODE:

        // Add event listeners for fullscreen change across different browsers        document.addEventListener('fullscreenchange', checkFullscreen);        document.addEventListener('mozfullscreenchange', checkFullscreen);        document.addEventListener('webkitfullscreenchange', checkFullscreen);        document.addEventListener('MSFullscreenChange', checkFullscreen);        document.addEventListener('webkitendfullscreen', RefreshLink);

Statistics: Posted by istech — Thu Jul 25, 2024 11:27 am — Replies 0 — Views 67



Viewing all articles
Browse latest Browse all 68

Trending Articles