btmanikandan
btmanikandan

Reputation: 1931

Iphone Videoplayer

I am creating video based ios application.I am using MPMoviePlayerController for playing video. It is working correctly for local video files but I am not able to play the video for the server link please give me some idea

Here is my code

MPMoviePlayerController * player = [[MPMoviePlayerController alloc] init]; 
NSURL *url = [NSURL URLWithString:imageName];

player.scalingMode = MPMovieScalingModeFill;
[player setContentURL:url];
[player prepareToPlay];
[player play];

Upvotes: 0

Views: 179

Answers (1)

bitmapdata.com
bitmapdata.com

Reputation: 9600

if you want using a MPMoviePlayerController implement that server links or streaming.

refer a this sample code. Will help you a lot: MoviePlayer

Upvotes: 2

Related Questions