开发者

Is it possible to embed non-fullscreen video in an iPhone app?

开发者 https://www.devze.com 2023-01-16 19:39 出处:网络
I know in the old days of iPhone OS 2.x this was clearly impossible. But how about now? Did they finally find a way to enable this? I need to play a movie in开发者_Go百科 a small region of the screen.

I know in the old days of iPhone OS 2.x this was clearly impossible. But how about now? Did they finally find a way to enable this? I need to play a movie in开发者_Go百科 a small region of the screen. About 250x250 points only.


It is possible in iOS3.2+ (ie on any iPad or on iPhone with iOS4).

You need to use MPMoviePlayerViewController instead of MPMoviePlayerController, and setup its view as you need.


Yes Possible after SDk 4.0

use [[movieplayer view] setFrame:CGRectMake(0, 0, 200, 100)];

Ashish Mathur

ashiPhone

0

精彩评论

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