Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fondoLogin.Add (mpPlayer.View);
- //fondoLogin.AddSubview (mpPlayer.View);
- mpPlayer.View.Frame = new CGRect (0, 0, View.Frame.Width, View.Frame.Height);
- mpPlayer.SourceType = MPMovieSourceType.Streaming;
- mpPlayer.SetFullscreen (true, true);
- mpPlayer.PrepareToPlay ();
- mpPlayer.ShouldAutoplay = true;
- videoEndNotificationToken = NSNotificationCenter.DefaultCenter.AddObserver
- (AVPlayerItem.DidPlayToEndTimeNotification, VideoDidFinishPlaying, mpPlayer);
- mpPlayer.RepeatMode = MPMovieRepeatMode.One;
- mpPlayer.Play ();
Add Comment
Please, Sign In to add comment