开发者

display video in a frame in portrait mode using MPMediaPlayer

开发者 https://www.devze.com 2023-01-11 01:20 出处:网络
i开发者_运维百科 have a requirement where i need to display a video at the center of the iPhone screen inside a frame.

i开发者_运维百科 have a requirement where i need to display a video at the center of the iPhone screen inside a frame.

Is there any way to do this using the basic MPMediaPlayer?

I have seen that using the MPMediaPlayer causes the video to play full screen in a landscape mode...

So, is there any way that this can be customized to suit my needs?

Thanks in advance!

^__^


Well I figured out that it can be done in iOS4 atleast ... If you have the same requirements then check this link : http://www.edumobile.org/iphone/iphone-programming-tutorials/how-to-play-video-in-iphoneos4/

0

精彩评论

暂无评论...
验证码 换一张
取 消