Reputation: 1595
I'm using UIWebView to play youtube videos on iPhone. When the video is loaded it displayed on full screen mode and hide all my view. The view have a label for header on top of UIWebview When I click done button, I noticed that my view is shifted down a bit leaving white space on top of the view. I don't know how to fix this so I was thinking to disable full screen mode. I would appreciate any help if you can tell me why the view is shifted down or how to disable full screen mode. Thanks in advance, Sarah
Upvotes: 0
Views: 1916
Reputation: 69469
You can't, the YouTube video player on the iPhone will always go full screen.
If you can get the URL of H264 version on you tube you can use the Media Player framework for playback.
Upvotes: 1