You are not logged in.

Search results

Search results 1-1 of 1.

Monday, October 29th 2012, 4:15am

Author: crakalakintw

iframe orientation events not firing

I need to embed the krpano viewer in an iframe for use on mobile devices, using the gyro plugin. This work properly in portrait but won't handle the rotation event to landscape. I am aware that onorientationchange events do not fire in iframes, so is there any way we can get an HTML5 postMessage interface for passing this message through to the viewer manually from the host page? I am trying to force the orientationchange event in the iframe manually with no luck. EDIT: I am creating my own even...