Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.47 KB

File metadata and controls

48 lines (33 loc) · 1.47 KB

libvideo

icon

About

My fork of libvideo (aka VideoLibrary) is a special .NET 1.4-compatible .NET library for downloading&playing YouTube videos. It is my attempt to return ability to play YT video via homemade retro apps such as YoutubeUWP or Windows 10 Mobile….

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.

References

.

As is. No support. DIY. Learn purposes only.

..

[m][e] April 2025