Mrabet hamdi
Mrabet hamdi

Reputation: 11

Pb with mpmovieplayercontroller

I need your help please: how can I delete this wihte line?

enter image description here

NSString *AppFolderPath = [[NSBundle mainBundle] resourcePath];
NSString *MoviePath=[NSString stringWithFormat: @"/%@/%@", AppFolderPath,pathVideo];
NSLog(MoviePath);
NSURL *movieURL=[[NSURL fileURLWithPath:MoviePath]retain];
    movieController = [[MPMoviePlayerController alloc] initWithContentURL:movieURL];
   [self addSubview:movieController.view];
   [movieController setMovieControlMode:MPMovieScalingModeAspectFit];
   [movieController setShouldAutoplay:YES];
   [movieController setFullscreen:YES animated:YES]; 

Upvotes: 1

Views: 124

Answers (1)

Ilanchezhian
Ilanchezhian

Reputation: 17478

Actually I have also tried with same code. (Except that, setMovieControlMode: is removed since it was deprecated). But I 'm not getting that kind of line. Pl. try with another video.

Upvotes: 1

Related Questions