コード例 #1
0
 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;
 }
コード例 #2
0
        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.
        }