🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

VideoLibrary.Compat

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

VideoLibrary.Compat

libvideo (aka VideoLibrary) is a modern .NET library for downloading YouTube videos. It is portable to most platforms and is very lightweight. Find us on GitHub at https://github.com/omansak/libvideo

Source
nugetNuGet
Version
3.3.1
Version published
Maintainers
3
Created
Source

libvideo

icon

NuGet NuGet license Join the chat at https://discord.gg/SERVhPp

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

Platform / ApplicationMinimum Supported VersionNotes
.NET / .NET Core.NET Core 2.0+ / .NET 5+Fully supports .NET Standard 2.0 libraries.
.NET Framework4.6.1+Supports .NET Standard 2.0 (does NOT support 2.1).
Mono5.4+Official support for .NET Standard 2.0.
Unity2018.1+Requires scripting runtime set to .NET 4.x Equivalent.
Xamarin.iOS10.14+Supports .NET Standard 2.0 libraries.
Xamarin.Android8.0+Supports .NET Standard 2.0 libraries.
Xamarin.Mac3.8+Supports .NET Standard 2.0 libraries.
Universal Windows Platform (UWP)10.0.16299+Supported starting from this Windows 10 version.

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.

Keywords

youtube

FAQs

Package last updated on 06 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts