Skip to content

Commit

Permalink
allow AirPlay when playing video back
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Feb 20, 2012
1 parent 4496d29 commit 2d810af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mapresent/DSMRViewController.m
Expand Up @@ -824,6 +824,7 @@ - (void)playLatestMovie
MPMoviePlayerViewController *moviePresenter = [[MPMoviePlayerViewController alloc] initWithContentURL:movieURL];

moviePresenter.moviePlayer.shouldAutoplay = NO;
moviePresenter.moviePlayer.allowsAirPlay = YES;

[self presentMoviePlayerViewControllerAnimated:moviePresenter];
}
Expand Down

0 comments on commit 2d810af

Please sign in to comment.