Refactor video playback implementation in PLib video library manager. Replace MediaPlayer.Controls with LibVLCSharp for improved performance and compatibility. Update VideoPlayerView and associated ViewModels to accommodate the new video control, ensuring seamless integration with the existing UI. Revise README.md to document changes and new player features.

This commit is contained in:
Leonid Pershin
2026-08-08 15:19:14 +03:00
parent 09d2a553a8
commit 45814cf4d2
11 changed files with 530 additions and 217 deletions
+6 -3
View File
@@ -12,9 +12,12 @@
<PackageVersion Include="Avalonia.Fonts.Inter" Version="12.1.1" />
<PackageVersion Include="Semi.Avalonia" Version="12.1.0.1" />
<PackageVersion Include="Material.Icons.Avalonia" Version="3.0.2" />
<PackageVersion Include="MediaPlayer.Controls" Version="12.0.0" />
<!-- Native LibVLC runtime: without it the player falls back to Media Foundation,
which cannot open MKV, AVI or WebM — most of the library. -->
</ItemGroup>
<ItemGroup Label="Playback">
<!-- LibVLCSharp is UI-agnostic; the video surface is our own control, so nothing here
is tied to a particular Avalonia release. -->
<PackageVersion Include="LibVLCSharp" Version="3.10.1" />
<PackageVersion Include="VideoLAN.LibVLC.Windows" Version="3.0.23.1" />
</ItemGroup>