예제 #1
0
 private void OnAVPlayerItemFailedToPlayToEndTime(object sender, AVPlayerItemErrorEventArgs e)
 {
     Element.OnPlayError(sender, new VideoPlayer.PlayErrorEventArgs(player.Error?.Description));
 }
예제 #2
0
 private void OnMediaFailedCore(object sender, AVPlayerItemErrorEventArgs args)
 => _target.GetTarget()?.OnMediaFailed(new Exception(args.Error.LocalizedDescription));