I want to force the WKWebview playing video in landscape mode and full screen, even the device is locked rotation. It is similar to the full screen mode of youtube app.
How can I archieve that ?
Thanks.
In my Landscape app you tube open a video from web view . I want handle of you tube player . after playing video app in portrait mode. Thanks in advance..
I'm developing an App that uses AVFoundation for recording video.
Currently I've my video orientation set, when the Device Rotate it changes de video rotation
[videoLayer.connection setVideoOrientation:currentOrientation];
But, when I play the video on Native Video Player it's shown on portrait, despite of being recorded on a landscape orientation.
Why this happens?
How I can fix this?
Thank you!
I am developing an ipad application which supports only portrait mode, but it has a feature to play you tube videos. I am playing them on webview.
How do I support landscape orientation for you tube videos when view controller supports only portrait mode?
I have an app I'm working on and I have a web view of the youtube channel in landscape but when a video comes up it plays in portrait. How can I force the video to play fullscreen in landscape?