Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm making a Windows form which allows people to select a film from different genres. I've used list boxes to display the list of films and genres. When a user selects a genre, the films from that genre are displayed in another list box.

The user selects a film from that list box, then a picture from the film is displayed in a picture box and informtion for the film is displayed in a text box. Now what I want to do is add a web browser control to the form, which displays a video from youtube of the film trailer for that the film the user has chosen. I want the trailer to be displayed when the user has selected the film from the film selection listbox. So not only will it display a picture and info about the film but also the trailer for that film too. But i'm not sure how to do this. I know I need to but web browser code into the listbox event code, but im not sure what code it is?
Posted

1 solution

you can navigate this CP link[^] to know how to access Youtube from desktop in C#. after reading article you will be able to manage YouTube API in C# for your requirement.
I hope this article might help you.
for references have a go there[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900