VideoLibrary.Compat
3.2.1
See the version list below for details.
dotnet add package VideoLibrary.Compat --version 3.2.1
NuGet\Install-Package VideoLibrary.Compat -Version 3.2.1
<PackageReference Include="VideoLibrary.Compat" Version="3.2.1" />
<PackageVersion Include="VideoLibrary.Compat" Version="3.2.1" />
<PackageReference Include="VideoLibrary.Compat" />
paket add VideoLibrary.Compat --version 3.2.1
#r "nuget: VideoLibrary.Compat, 3.2.1"
#:package VideoLibrary.Compat@3.2.1
#addin nuget:?package=VideoLibrary.Compat&version=3.2.1
#tool nuget:?package=VideoLibrary.Compat&version=3.2.1
libvideo
libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is portable to most platforms and is very lightweight.
Documentation
Installation
You can grab a copy of the library on NuGet by running:
Install-Package VideoLibrary
Alternatively, you can try building the repo if you like your assemblies extra-fresh.
Supported Platforms
- .NET Core Web/Console/ClassLibrary
- .NET Framework 4.5+
- .NET Standart 2.1+
- Windows 10 Universal apps
- Portable Class Libraries
- Xamarin.iOS
- Xamarin.Android
- Mono (Mac/Linux)
- Windows 8.1 and 8.0
- Windows Phone 8.1
Getting Started
Here's a small sample to help you get familiar with libvideo:
using VideoLibrary;
void SaveVideoToDisk(string link)
{
var youTube = YouTube.Default; // starting point for YouTube actions
var video = youTube.GetVideo(link); // gets a Video object with info about the video
File.WriteAllBytes(@"C:\" + video.FullName, video.GetBytes());
}
Or, if you use Visual Basic:
Imports VideoLibrary
Sub SaveVideoToDisk(ByVal link As String)
Dim video = YouTube.Default.GetVideo(link)
File.WriteAllBytes("C:\" & video.FullName, video.GetBytes())
End Sub
If you'd like to check out some more of our features, take a look at our docs. You can also refer to our example application (named Valks, yes, I know, it's a silly name) if you're looking for a more comprehensive sample.
License
libvideo is licensed under the BSD 2-clause license.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- VideoLibrary (>= 3.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.3.1 | 164 | 2/6/2026 |
| 3.3.0 | 155 | 1/2/2026 |
| 3.2.9 | 359 | 6/18/2025 |
| 3.2.8 | 329 | 2/3/2025 |
| 3.2.7 | 229 | 1/27/2025 |
| 3.2.6 | 382 | 10/1/2024 |
| 3.2.5 | 229 | 7/30/2024 |
| 3.2.4 | 230 | 6/24/2024 |
| 3.2.3 | 1,128 | 12/28/2022 |
| 3.2.2 | 2,023 | 9/17/2022 |
| 3.2.1 | 784 | 8/30/2022 |
| 3.2.0 | 568 | 8/30/2022 |
| 3.1.9 | 2,189 | 2/7/2022 |
| 3.1.8 | 674 | 2/7/2022 |
| 3.1.7 | 648 | 2/7/2022 |
| 3.1.6 | 866 | 2/2/2022 |
| 3.1.5 | 842 | 2/2/2022 |
| 3.1.4 | 1,416 | 11/7/2021 |
| 3.1.4-pre | 458 | 11/3/2021 |
| 3.1.3-pre | 464 | 11/3/2021 |
fix json parse bug
