In my application, I load some web pages embedded in Photos and Videos. I also use the following notifications to control the player,
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(embeddedVideoStarted:) name:@"UIMoviePlayerControllerDidEnterFullscreenNotification" object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(embeddedVideoEnded:) name:@"UIMoviePlayerControllerWillExitFullscreenNotification" object:nil];
This works fine in iOS7, but it doesn't work in iOS8. Any workarounds? Thanks in advance.
source share