question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing function - exit full screen on iOS.

See original GitHub issue

Expected Behavior

in the lib should be a function: exitfullscreen(). why? in all browsers you can close the fullscreen by the functions document.exitFullscreen (); unfortunately, it does not work on iOS browsers.

Actual Behavior

it is not possible to close (programmatically) the fullscreen only on iOS devices.

Steps to Reproduce

I checked in the script - there is the function of closing the fullscreen after the movie ends. just copy and name.


example: https://codepen.io/lukasilestam/pen/VXbbwL working for all browsers except ios browsers. to test just turn on the fullscreen and wait 5 seconds

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
stefkudlacommented, Apr 22, 2022

Seeing this error on Firefox Focus IOS (iPhone 12 pro max) when exiting and re entering the mobile browser

1reaction
RoboBurnedcommented, Jan 25, 2019

Users just reported about a JS error. Is it related to vimeo player? If so, please fix it.

TypeError: undefined is not an object (evaluating 'document.getElementsByTagName('video')[0].webkitExitFullScreen')
Read more comments on GitHub >

github_iconTop Results From Across the Web

Full-screen view -- how to switch back to main monitor
You press 'F' to get to full screen mode. Press 'F' again to return to the normal program view. 'Esc' works too.
Read more >
How to enter and exit full screen on a Mac - Setapp
While using an app, press Command + Control + F (on Big Sur and earlier) or Fn + F if your Mac is...
Read more >
How to Enter and Exit Full Screen Mode and Use Split ... - Intego
Another way you can exit full screen mode is to press Command-Control-F, or choose View > Exit Full Screen.
Read more >
AVPlayer exitFullScreen - ios - Stack Overflow
I've a problem with SwiftUI and AVPlayer. When i rotate the device in landscape mode, the player go in fullscreen mode, but when...
Read more >
How to Exit Out of Full Screen Mode in Mac OS X - OSXDaily
The green maximize button in the upper left corner of a Mac window will enter that window or application into full screen mode....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found