tcking / GiraffePlayer2

out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)
Apache License 2.0
377 stars 110 forks source link

[Request] Exit full-screen when rotating the device. #82

Closed bernaferrari closed 6 years ago

bernaferrari commented 6 years ago

Hi, I think you could make GiraffePlayer2 a bit more like YouTube or Videoder app. On both of them, if you tap on the full-screen button, the video will get full-screen, but if you rotate the device back, it will exit full screen. On GiraffePlayer2, it is permanent.

bilgehankalkan commented 6 years ago

You can create custom OrientationEventListener to listen orientation changes. I'm using this solution and manually managing orientation changes by this listeners responses.

bernaferrari commented 6 years ago

I thought this was a solved problem already, I was avoiding what you sent me at all costs, but I'll probably need to implement it. Thanks!