Xamarin.Android bindings for VLC player
Xamarin bindings library for VLC player library for Android
For more information on VLC see the Developer documentation
Find latest Java lib
Plugin is available on Nuget
LibVLCLibVLC mLibVLC = null;
MediaPlayer mMediaPlayer = null;
if(mLibVLC == null)
{
//Initialize VLC libs
mLibVLC = new LibVLCLibVLC(this);
mMediaPlayer = new MediaPlayer(mLibVLC);
}
//Create new media object
var m = new MediaLibVLC(mLibVLC, Android.Net.Uri.Parse("http://www.montemagno.com/sample.mp3"));
// Tell the media player to play the new Media.
mMediaPlayer.Media = m;
// Finally, play it!
mMediaPlayer.Play();
See the VlcXamarin.Sample sample app for more details.