Xamarin Forms VLC Video Payer

MediaPlayerElement :

It’s a full featured video control for Xamarin.Forms available in LibVLCSharp.Forms (iOS/Android).

Task 1 : Plugin Installation :

Plugin : LibVLCSharp.Forms,LibVLCSharp (For all android , ios and shared) project
Plugin : VideoLAN.LibVLC.Android (Install in Android Project)
Plugin : VideoLAN.LibVLC.iOS (Install in IOS Project)

Task 2 : Call Renderer on each platform before xam.Forms.Init(this,savedSavedInstantState):

LibVLCSharpFormsRenderer.Init()

Task 3 : Implement this Source code:

1)MainPage.xaml

2)MainPage.xaml.cs

Task 4 : Add font awesome icon for the vlc player which it is using inside the its api plugin.

 

* Note all the downloaded files are renamed to this name:

FontAwesome5Brands.otf
FontAwesome5Regular.otf
FontAwesome5Solid.otf

Task 5 : Your Info.plist should have all the three names of the fonts awesome icons.

Final output :
IOS :

Android :

Original Documentation / References :

Original Github Source

Video Demo and Implementation :
Video

1,031 total views, 1 views today

Leave a Reply