public override void ViewDidLoad() { base.ViewDidLoad(); _videoSurface = new VideoSurface(); VideoView.Add(_videoSurface); CrossMediaManager.Current.VideoPlayer.RenderSurface = _videoSurface; CrossMediaManager.Current.PlayingChanged += (sender, e) => ProgressView.Progress = (float)e.Progress; }
public override void ViewDidLoad() { base.ViewDidLoad(); _videoSurface = new VideoSurface(); VideoView.Add(_videoSurface); CrossMediaManager.Current.VideoPlayer.RenderSurface = _videoSurface; CrossMediaManager.Current.PlayingChanged += (sender, e) => ProgressView.Progress = (float)e.Progress; // Perform any additional setup after loading the view, typically from a nib. }