How to play a video using AVPlayerLayer, and AVPlayerViewControler in xamarin iOS?
playerItem = new AVPlayerItem(new NSUrl(\"https://clips.vorwaerts-gmbh.de/
AVPlayer avp;
AVPlayerViewController avpvc;
var url = NSUrl.FromString(yourURL);
avp = new AVPlayer(url);
avpvc = new AVPlayerViewController();
avpvc.Player = avp;
AddChildViewController(avpvc);
View.AddSubview(avpvc.View);
avpvc.View.Frame = View.Frame;
avpvc.ShowsPlaybackControls = true;
avp.Play();
This is all done in viewDidLoad and its working fine now.