Skip to content

Landscape Issue #9

@raymondcarl

Description

@raymondcarl

For the most part, this library is working great and is saving me a lot of time.

I have a problem them when I use the forceLandscape = true function in preparePlayer(). Everything works fine except if (with an emulator in landscape orientation) I click the navbar back button at the top. Then, all my fragments are stuck in landscape mode irrespective of how I rotate the emulator.

(click the back button at the top of the navbar while in landscape mode forces the entire app and all subsequent fragments to remain in landscape)
image

I played around with a few different ideas to force a the orientation to portrait in the onPause and OnStop method, but nothing seems to be working.

If I switch rotate the emulator to portrait before click the back button, everything works OK.

Also, I'm using the same exact code in the ReadMe file except that I am using fragments with databinding.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions