2

I am unable to get airplay to repeat a video.

moviePlayer.repeatMode = MPMovieRepeatModeOne;
[moviePlayer setAllowsAirPlay:YES];

This does not seem to work, it gets to the end of a video and airplay just stops. Does anyone know why, or how to get this to work?

Thanks!

edc1591
  • 10,146
  • 6
  • 40
  • 63
Tom
  • 21
  • 1

1 Answers1

0

I have a few apps with airplay and I didn't have to do anything fancy. However I enabled auto play. moviePlayer.shouldAutoplay = YES;

Try it maybe it solves your issue.

Tibidabo
  • 21,461
  • 5
  • 90
  • 86