Skip to content

tombby11/VlcXamarin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VlcXamarin

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

Documentation

LibVLCLibVLC mLibVLC = null;
MediaPlayer mMediaPlayer = null;

if(mLibVLC == null)
{
    //Initialize VLC libs
    mLibVLC = new LibVLCLibVLC();
    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.

Acknowledgements

  • thefex for helping with several issue's

License

  • VlcXamarin plugin is licensed under MIT

About

Xamarin.Android bindings for VLC player

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%