views:

59

answers:

0

Hello, I'm building a WPF application that should be able to play Youtube videos. But there are some problems running the app on Windows 7.

When I follow the article by Sacha Barber it shows a pop-up saying "File download security warning" which isn't very nice, I don't want the user to have to click ok every time.

Then there's a second approach. Use the WebBrowser's NavigateToString property and enter there a full HTML code for a page that plays the Youtube video. Unfortunately, that doesn't work for me at all, all I see is a black space where the video should be.

Have you ever come across anything like this? Thanks a lot.