Skip to main content
Inspiring
May 7, 2013
Question

orientationChange not firing for iOS 6 w/native video

  • May 7, 2013
  • 2 replies
  • 1655 views

Air has stopped listening to orientationChange events during a fullscreen native video on iOS 6. Previously worked with iOS 5.

ie. iPhone app is in portrait mode. User clicks on video hosted in stageWebView and makes it fullscreen. If the user rotates device for viewing (common for native video playback) and then hits "done", the video will close but the app will not have registered the landscape orientation change.

Anyone else notice this?

PS. Tested AIR 3.6 and 3.7

This topic has been closed for replies.

2 replies

May 8, 2013

We are unable to reproduce the issue,  both orientation events CHANGE and CHANGING are fired, could you please answer following questions:

  • Does the video rotates to landscape in native mode? if not then it may be the case that "autoOrients" tag value is set to 'false' in application xml .
  • Could you please share the version of your swf file and the name space you are using in application xml.
  • Could you please share the exact iOs device and its OS version you are using .

Thanks,

Ankit

gtrAuthor
Inspiring
May 8, 2013

Hi,

"autoOrients" is set to "true" (video rotates)

Authoring with Flash Pro CS6

xmlns="http://ns.adobe.com/air/application/3.6"

This happens on iOS 6.1 on the iOS Simulator, iPod Touch 5 and iPad mini.

Am investigating further on my end...

chris.campbell
Legend
May 8, 2013

I don't recall this coming up recently but the iOS team might jump in here.  In the meantime, could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code or an application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly (ccampbel@adobe.com). 

Once added, please post back with the URL so that others affected can add their comments and votes.

gtrAuthor
Inspiring
May 8, 2013

Hi Chris,

Thanks for the response. I have a somewhat similar issue under report which went unresolved, despite confirmation, so I will take you up on your offer for the direct response. I will send an email with attachement for a basic test project shortly.

Thanks.

JP