9 Nov 2012 5:06 PM #1
Answered: HTML5 Video can screw up layout when restrict orientation to portrait
PhoneGap and ST 2.1
I'm forcing Portrait orientation in phonegap with <preference name="orientation" value="portrait" />
Everything is fine but when I watch a video it let's me change the orientation of the video to landscape, which is great. But when you press done on the video or when it is finished and you go back to the app the entire layout is screwed up with a large white margin on top. The only way to correct it is the to open the video again, then orient to portrait, then close the video.
Let me know if you need more info.
This doesn't sound like a Sencha Touch issue. Sounds like a phonegap issue that it has a bug.
12 Nov 2012 8:38 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
This doesn't sound like a Sencha Touch issue. Sounds like a phonegap issue that it has a bug.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.