LibVLCSharp.Forms 3.6.1 Prefix Reserved

Install-Package LibVLCSharp.Forms -Version 3.6.1
dotnet add package LibVLCSharp.Forms --version 3.6.1
<PackageReference Include="LibVLCSharp.Forms" Version="3.6.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibVLCSharp.Forms --version 3.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LibVLCSharp.Forms, 3.6.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LibVLCSharp.Forms as a Cake Addin
#addin nuget:?package=LibVLCSharp.Forms&version=3.6.1

// Install LibVLCSharp.Forms as a Cake Tool
#tool nuget:?package=LibVLCSharp.Forms&version=3.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LibVLCSharp.Forms

NuGet Stats NuGet Stats

This package provides Xamarin.Forms support for LibVLCSharp.

This package also contains the views for the following platforms:

  • Android
  • iOS
  • Mac

GTK and WPF Forms support are in separate packages due to multi-targeting limitations.

This package has multiple target frameworks, which means it will pick the right features for your project (you will only get the mac view if you are building a mac project).

BE CAREFUL: This project does not include LibVLC itself! You will need to install it separately! See the Installation documentation for more info.

MediaPlayerElement

This package includes a Xamarin.Forms MediaPlayerElement component. It currently supports iOS and Android only.

Note: In your iOS project, you must override the GetSupportedInterfaceOrientations method in AppDelegate.cs to enable the lock screen feature.

using Foundation;
using LibVLCSharp.Forms.Platforms.iOS;
using LibVLCSharp.Forms.Shared;
using ObjCRuntime;
using UIKit;
// ...

namespace MyAppNameSpace.iOS
{
    
    [Register("AppDelegate")]
    public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
    {
       
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            LibVLCSharpFormsRenderer.Init();
            // ...
        }

        public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations(UIApplication application, [Transient] UIWindow forWindow)
        {
            return OrientationChangeListener.Subscribe(this);
        }
    }
}

See the sample for more info.

Why should I reference this package in my project?

If you are in this situation, this package is made for you:

  • You want to build a Xamarin.Forms application (no matter on which platform) using LibVLCSharp.

For other platforms, see the main documentation

NuGet packages (2)

Showing the top 2 NuGet packages that depend on LibVLCSharp.Forms:

Package Downloads
LibVLCSharp.Forms.WPF

LibVLCSharp is a cross-platform audio and video API for .NET platforms based on VideoLAN's LibVLC Library. It provides a comprehensive multimedia API that can be used across mobile, server and desktop to render video and output audio. Mono, .NET Framework and .NET Core runtimes are supported. LibVLCSharp.Forms.WPF contains the Xamarin.Forms support for LibVLCSharp through custom renderers on the WPF platform. It depends on LibVLCSharp.Forms and LibVLCSharp.WPF. Xamarin.Forms support for other platforms are in different packages (namely LibVLCSharp.Forms and LibVLCSharp.Forms.GTK). LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.

LibVLCSharp.Forms.GTK

LibVLCSharp is a cross-platform audio and video API for .NET platforms based on VideoLAN's LibVLC Library. It provides a comprehensive multimedia API that can be used across mobile, server and desktop to render video and output audio. Mono, .NET Framework and .NET Core runtimes are supported. LibVLCSharp.Forms.GTK contains the Xamarin.Forms support for LibVLCSharp through custom renderers on the GTK platform. It depends on LibVLCSharp.Forms and LibVLCSharp.GTK. Xamarin.Forms support for other platforms are in different packages (namely LibVLCSharp.Forms and LibVLCSharp.Forms.WPF). LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on LibVLCSharp.Forms:

Repository Stars
LagradOst/CloudStream-2
CloudStream 2 is an android streaming app for movies, tv-shows and anime
Version Downloads Last updated
3.6.1 1,597 9/28/2021
3.6.0 2,471 8/11/2021
3.5.1 2,123 6/8/2021
3.5.0 4,089 3/29/2021
3.4.9 9,183 11/12/2020
3.4.8 6,482 9/16/2020
3.4.7 7,447 8/12/2020
3.4.6 2,347 7/9/2020
3.4.5 6,330 5/7/2020
3.4.4 730 4/22/2020
3.4.3 3,638 3/5/2020
3.4.2 31,890 1/21/2020
3.4.1 3,009 12/26/2019
3.4.0 1,156 12/11/2019
3.3.1 3,519 10/30/2019
3.3.0 802 10/24/2019
3.2.5 1,457 10/21/2019
3.2.4 472 10/13/2019
3.2.3 1,423 9/24/2019
3.2.2 333 9/23/2019
3.2.1 1,082 8/26/2019
3.2.0 672 8/13/2019
3.1.1 457 8/9/2019
3.1.1-alpha 334 7/16/2019
3.1.0 1,142 7/11/2019
3.0.3 879 6/20/2019
3.0.2 981 6/12/2019
3.0.1 539 6/4/2019
3.0.0 923 5/13/2019
0.8.1 1,679 4/16/2019
0.8.0 439 4/9/2019
0.7.0 862 4/1/2019
0.6.0 467 3/25/2019
0.5.0 775 2/26/2019
0.3.1 583 2/4/2019
0.3.0 715 1/21/2019
0.2.0 690 1/15/2019
0.1.4 708 1/7/2019
0.1.3 749 12/12/2018
0.1.2 570 12/5/2018
0.1.1 540 11/28/2018
0.1.0 666 11/14/2018
0.0.2 2,092 10/30/2018
0.0.1 606 10/10/2018
0.0.1-alpha1 771 6/18/2018
0.0.1-alpha 550 5/29/2018