I can\'t seem to get any videos playing in iOS 6. Both on the device (iP4) and simulator.
What I have is a UIWebView setup in IB. Then in my viewDidLoad
I h
You can still use UIWebview by registering to notifications from UIMoviePlayerController and handling the corresponding events...
-(void)viewDidLoad
{
...
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(videoStarted:) name:@"UIMoviePlayerControllerDidEnterFullscreenNotification" object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(videoFinished:) name:@"UIMoviePlayerControllerDidExitFullscreenNotification" object:nil];
}
-(void)videoStarted:(NSNotification *)notification{
// your code here
}
-(void)videoFinished:(NSNotification *)notification{
// your code here
}