Results 1 to 2 of 2

Thread: HTML5 Video can screw up layout when restrict orientation to portrait

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    52
    Answers
    3
    Vote Rating
    0
      0  

    Default Answered: HTML5 Video can screw up layout when restrict orientation to portrait

    Hi,

    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.

    Thanks!

  2. This doesn't sound like a Sencha Touch issue. Sounds like a phonegap issue that it has a bug.

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    This doesn't sound like a Sencha Touch issue. Sounds like a phonegap issue that it has a bug.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •