play youtube video with wmp in vb2010

ud2008

Well-known member
Joined
Jul 5, 2010
Messages
148
Programming Experience
Beginner
I've been trying to make a videoplayer that can choose to play, regular video files and also youtube video by supplying the link.
Programming code: vb2010.

The regular video files are working, but the youtube aren't working.

I know I should use the url as followed: http://www.youtube.com/v/videoID
All I get is a black screen, when I try it in the normal wmp (windows 7), the video is shown, but still I need to click play.

Is there a way to "pre-cache" the youtube video before playing it, and then auto start?

Thanks
 
Back
Top