I'm trying to lose like this:
NSURL *url = [NSURL URLWithString:kApiFirstDigitalUrl]; _player = [[MPMoviePlayerController alloc] initWithContentURL:url]; _player.view.frame = CGRectMake(0, 0, 200, 200); [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(myMovieFinishedCallback:) name:MPMoviePlayerPlaybackDidFinishNotification object:_player]; [self.view addSubview:_player.view]; [_player play];
an error comes to myMovieFinishedCallback: "You have the necessary hash in the URL bar.