Ooyala player (iOS): how to start in full screen?

丶灬走出姿态 提交于 2020-01-04 03:25:05

问题


I am using Ooyala player in my project, the project used to use MPMoviePlayer, where we just change the view's size to make it fullscreen or not fullscreen, but Ooyala player seems to maintain its own fullscreen/inline mode by using another modal view controller when switched to full screen, this creates a lot of problem as the current view controller's viewWillDisappear and viewDidDisappear will be called when the modal VC is presented, so is there a way to start with full screen directly?

Thanks!


回答1:


Try one of the constructors for OOOoyalaPlayerViewController that has the controlType param.



来源:https://stackoverflow.com/questions/13850087/ooyala-player-ios-how-to-start-in-full-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!