1

我在一个视图控制器上有三个视频,当我尝试播放第三个视频时出现此错误:

2013-02-01 07:44:00.688 LYWAM Tour[1218:907] [MPAVController] Autoplay: Disabling autoplay for pause 2013-02-01 07:44:00.690 LYWAM Tour[1218:907] [MPAVController] Autoplay: Disabling autoplay

这是我用来播放视频的内容:

-(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;
}

但它没有加载,它只是给了我上面的错误

4

0 回答 0