LibVLCSharp.Forms 3.9.1

Prefix Reserved
dotnet add package LibVLCSharp.Forms --version 3.9.1                
NuGet\Install-Package LibVLCSharp.Forms -Version 3.9.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibVLCSharp.Forms" Version="3.9.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibVLCSharp.Forms --version 3.9.1                
#r "nuget: LibVLCSharp.Forms, 3.9.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.9.1

// Install LibVLCSharp.Forms as a Cake Tool
#tool nuget:?package=LibVLCSharp.Forms&version=3.9.1                

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid81 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed.  xamarinmac20 is compatible. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.9.1 597 11/13/2024
3.9.0 4,342 8/13/2024
3.8.5 4,687 5/23/2024
3.8.4 328 5/15/2024
3.8.3 142 5/13/2024
3.8.2 7,826 11/7/2023
3.8.1 9,246 10/17/2023
3.8.0 1,360 9/26/2023
3.7.0 12,814 4/4/2023
3.6.8 16,196 3/15/2023
3.6.7 23,108 10/3/2022
3.6.6 36,181 3/23/2022
3.6.5 23,707 12/28/2021
3.6.4 1,587 12/14/2021
3.6.3 1,451 12/8/2021
3.6.2 1,617 12/6/2021
3.6.1 5,722 9/28/2021
3.6.0 5,668 8/11/2021
3.5.1 4,946 6/8/2021
3.5.0 10,176 3/29/2021
3.4.9 16,108 11/12/2020
3.4.8 10,882 9/16/2020
3.4.7 9,585 8/12/2020
3.4.6 3,973 7/9/2020
3.4.5 7,731 5/7/2020
3.4.4 2,068 4/22/2020
3.4.3 5,066 3/5/2020
3.4.2 40,254 1/21/2020
3.4.1 4,359 12/26/2019
3.4.0 2,487 12/11/2019
3.3.1 4,896 10/30/2019
3.3.0 2,212 10/24/2019
3.2.5 2,771 10/21/2019
3.2.4 1,721 10/13/2019
3.2.3 2,758 9/24/2019
3.2.2 1,652 9/23/2019
3.2.1 2,462 8/26/2019
3.2.0 1,962 8/13/2019
3.1.1 1,711 8/9/2019
3.1.1-alpha 1,490 7/16/2019
3.1.0 2,374 7/11/2019
3.0.3 2,071 6/20/2019
3.0.2 2,299 6/12/2019
3.0.1 1,843 6/4/2019
3.0.0 2,300 5/13/2019
0.8.1 2,996 4/16/2019
0.8.0 1,679 4/9/2019
0.7.0 2,140 4/1/2019
0.6.0 1,735 3/25/2019
0.5.0 2,112 2/26/2019
0.3.1 1,872 2/4/2019
0.3.0 2,084 1/21/2019
0.2.0 2,009 1/15/2019
0.1.4 2,019 1/7/2019
0.1.3 1,997 12/12/2018
0.1.2 1,863 12/5/2018
0.1.1 1,816 11/28/2018
0.1.0 1,995 11/14/2018
0.0.2 3,463 10/30/2018
0.0.1 1,990 10/10/2018
0.0.1-alpha1 2,166 6/18/2018
0.0.1-alpha 1,825 5/29/2018