Пример #1
0
        internal void Prepare()
        {
            _view = new MPMoviePlayerViewController(new NSUrl(FileName));
            _view.MoviePlayer.ScalingMode      = MPMovieScalingMode.AspectFill;
            _view.MoviePlayer.MovieControlMode = MPMovieControlMode.Hidden;
            _view.MoviePlayer.PrepareToPlay();

            Vector4 color = BackgroundColor.ToEAGLColor();

            _view.MoviePlayer.BackgroundColor = new MonoTouch.UIKit.UIColor(color.X, color.Y, color.Z, color.W);
        }