![]() |
VOOZH | about |
dotnet add package Dove.Avalonia.Extensions.Media --version 2.1.0
NuGet\Install-Package Dove.Avalonia.Extensions.Media -Version 2.1.0
<PackageReference Include="Dove.Avalonia.Extensions.Media" Version="2.1.0" />
<PackageVersion Include="Dove.Avalonia.Extensions.Media" Version="2.1.0" />Directory.Packages.props
<PackageReference Include="Dove.Avalonia.Extensions.Media" />Project file
paket add Dove.Avalonia.Extensions.Media --version 2.1.0
#r "nuget: Dove.Avalonia.Extensions.Media, 2.1.0"
#:package Dove.Avalonia.Extensions.Media@2.1.0
#addin nuget:?package=Dove.Avalonia.Extensions.Media&version=2.1.0Install as a Cake Addin
#tool nuget:?package=Dove.Avalonia.Extensions.Media&version=2.1.0Install as a Cake Tool
<span style="color:red;">Avalonia 11 or above,you should use v2.0.0 or above!!!</span>
IN Avalonia 0.10.14,the NativeControlHost NEED app.manifest for Windows.IF NOT,THAT'S MAKE THE PlayerView CANNOT WORKS NORMALLY!
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
</application>
</compatibility>
</assembly>
To enable extension the UseDoveExtensions method call should be present in your Program.cs file:
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseDoveExtensions()
.LogToTrace();
MEDIA
Need to reference Dove.Avalonia.Extensions.Media package
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please use FFmpegView.Avalonia replace since Version >= 1.2.5
Ah ! You can reference the ffmpeg libraries packages from Windows or Linux or MacOS
OH ! You can reference the bass libraries packages from Windows or Linux or MacOS
and the ManagedBass require the libraries is in your program root folder,the [Dove.Avalonia.Extensions.Media] has handle copy to the require path.but if you still get an init failed messsage,plz copy by yourself!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
if you need VideoView or PlayerView,you should install libVLC in your project before init!!!
if you need FFmpegView,you should install libFfmpeg in your project before init!!!
if you need AudioControl,should install libbass in your project before init!!!
To enable extension the UseAudioControl AND UseVideoView method call should be present in your Program.cs file,the 1st one is for AudioControl,
the 2nd one is for VideoView or PlayerView,you can also call it according to your NEEDS:
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseVideoView()
.UseAudioControl()
.UseFFmpeg()
.LogToTrace();
VideoView Support
the
VideoViewinLibVLCSharp,modified to support use inUserControl
FFmpegView Support
the video view by using ffmpeg
PlayerView Support
the custom control for
VideoView,it's just like in uwp/wpf
AudioControl Support
the control playing audio without visual or occupy bounds
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 netstandard2.1 is compatible. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 2.1.0 | 538 | 11/3/2025 | |
| 2.0.3 | 812 | 8/10/2024 | |
| 2.0.2 | 1,997 | 10/24/2023 | |
| 2.0.1 | 1,330 | 7/17/2023 | |
| 2.0.0 | 1,290 | 7/16/2023 | |
| 2.0.0-preview6 | 1,280 | 4/13/2023 | |
| 2.0.0-preview5 | 1,275 | 4/11/2023 | |
| 2.0.0-preview4 | 1,201 | 3/10/2023 | |
| 2.0.0-preview3 | 1,252 | 11/6/2022 | |
| 2.0.0-preview1 | 1,332 | 9/17/2022 | |
| 1.2.6 | 1,307 | 4/13/2023 | |
| 1.2.5 | 1,540 | 12/2/2022 | |
| 1.2.4 | 1,483 | 11/23/2022 | |
| 1.2.3 | 1,537 | 11/12/2022 | |
| 1.2.2 | 1,542 | 11/3/2022 | |
| 1.2.1 | 1,663 | 10/28/2022 | 1.2.1 is deprecated because it has critical bugs. |
| 1.2.0 | 1,535 | 10/27/2022 | |
| 1.1.0 | 1,631 | 9/7/2022 | |
| 1.0.9 | 1,613 | 9/7/2022 | |
| 1.0.8 | 1,607 | 8/31/2022 |