There is a hacker way to do this by listening to the notification AVPlayerItemBecameCurrentNotification. This notification is triggered when the UIWebView shows the media player and it sends AVPlayerItema notification as an object.
For instance:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(playerItemBecameCurrent:)
name:@"AVPlayerItemBecameCurrentNotification"
object:nil];
-(void)playerItemBecameCurrent:(NSNotification*)notification {
AVPlayerItem *playerItem = [notification object];
if(playerItem == nil) return;
AVURLAsset *asset = (AVURLAsset*)[playerItem asset];
NSURL *url = [asset URL];
NSString *path = [url absoluteString];
}
( ). , , YouTube - , Apple WILL , YouTube AT ALL, YouTube.