I want to develop a Silverlight application that plays YouTube video. I do not want to stop users from installing my PC on a three-pc, so I'll need to play video in the browser. Can any one of us get it anyway?
Silverlight 4 is a new WebBrowser control where you can display HTML content (For example, an iframe with youtube in it). Unfortunately, this control will work in only out-of-browser mode , so if you do not want users to install your app on your PC, this will not be an option for you.
So I'm looking to solve this problem in the only way.
A) Open a popup (new browser window) Shows content.
b) Use Javascript to open a new div / iframe at the top of your Silverlight app that shows YouTube. You must enable the so-called Window mode for your Silverlight app (otherwise, you will not be able to display any kind of HTML on top of your app).
Cheers, Alex
Comments
Post a Comment