C# Windows Form Application

Play YouTube Video in C# Windows Form

Hello friends;
In this tutorial I’ll make an application showing YouTube videos in C # WebBrowser.




First, we create the application as follows.

Second, we create a variable named VideoID in From1 and define it as follows.

Finally, we write the following code to Button1’s click event.

Output:

 

All codes of the application

 

About the author

admin

Leave a Comment