I want to play panorama in fullscreen mode inside an iframe.
But It seemed krpano can not be played in fullscreen mode on iphone at all. I googled a lot, it seemed fullscreen is not supported on ios.
May I ask if there are anyway to play krpano on fullscreen mode on ios device?
how to play krPano fullscreen mode in iphone
-
-
More information here:
https://krpano.com/docu/releasenotes/#pluginsQuoteNew: ios_iframe_fullscreen.xml
- iOS doesn't support the fullscreen-API, so there is no way to switch from inside a small iframe on a webpage to a full-page-view.
- This script helps here by automatically redirecting to the inner frame page when switching to fullscreen mode.
-
from the xml file, it seemed it regsiter:
krpano.registerattribute("fullscreen"...)
In order to trigger it fullscreen, shall we just call
krpano.setattribute("fullscreen", true) ?
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!