No video was played
Hello. I think it is the best plugin of Xamain. However, it can't play video.
I added README xaml and modified x:Class= as my project.
and added VideoPlayerViewModel like your sample.
And I added NSAppTransportSecurity in my Info.plist.
However, no video was shown.
Could you help?

Does the sample work for you?
@ravensorb Thank you for replying. It doesn't work for me. only button was shown. but, never played video.
Does the VideoPlayer currently works in iOS? The custom renderer does not seem to get called, and I am also not seeing the video control on iPad. .... I did get it to work later, but have to copy the VideoPlayerRenderer.cs from the Xam.Plugins.VideoPlayer.IOS project to the iOS project in my main application for the renderer to be called by Xamarin.
I solved that doing this in AppDelegate.cs
x = typeof(Xam.Plugins.VideoPlayer.iOS.VideoPlayerRenderer);
it's something about the linker....
There should be a Init method like all the other plugins and call it
VideoPlayer.Init()
and in the Init
Something like this
public static void Init()
{
var time = DateTime.UtcNow;
}
This is how it's implemented in the Forms.Toolkit Plugin
https://github.com/jamesmontemagno/xamarin.forms-toolkit/blob/master/FormsToolkit/FormsToolkit.iOS/Toolkit.cs
https://github.com/jamesmontemagno/xamarin.forms-toolkit/blob/master/FormsToolkit/FormsToolkit/Converters/InvertedBooleanConverter.cs
Hmm, good thought. I'll look at adding that.
Note: There is another component that looks like it is being more actively maintained that might be worth looking at: https://github.com/martijn00/XamarinMediaManager