Wednesday, 15 May 2013

iphone - MPMoviePlayer Troubles -



iphone - MPMoviePlayer Troubles -

i have 3 videos on single viewcontroller, , getting error when seek play 3rd:

2013-02-01 07:44:00.688 lywam tour[1218:907] [mpavcontroller] autoplay: disabling autoplay pause 2013-02-01 07:44:00.690 lywam tour[1218:907] [mpavcontroller] autoplay: disabling autoplay

here i'm using play videos:

-(void)threevideo8 { nsurl *url308 = [nsurl fileurlwithpath:[[nsbundle mainbundle] pathforresource:@"layersofmeaning" oftype:@"mp4"]]; threevideoseven = [[mpmovieplayercontroller alloc] initwithcontenturl:url308]; threevideoeight.controlstyle = mpmoviecontrolstyledefault; threevideoeight.shouldautoplay = yes; [self.view addsubview:threevideoeight.view]; [threevideoeight setfullscreen:yes animated:yes]; } -(void) movieplaybackdidfinish3:(nsnotification *)anotification{ [threevideoeight.view removefromsuperview]; threevideoeight = nil; } - (void)movieplayerwillexitfullscreen3:(nsnotification*) anotification { [threevideoeight stop]; [threevideoeight.view removefromsuperview]; threevideoeight = nil; }

but doesnt load, gives me above errors

iphone xcode xcode4 ios6

No comments:

Post a Comment