Does anyone know how to play music from youtube in my c# .net 4.0 app ? I've installed all the apis and sdks from google but i can't seem to find a tutorial that lets me play music in my desktop app .
regards, Alexandru Badescu
Does anyone know how to play music from youtube in my c# .net 4.0 app ? I've installed all the apis and sdks from google but i can't seem to find a tutorial that lets me play music in my desktop app .
regards, Alexandru Badescu
Here's a tutorial on how to put youtube videos into an MVC app it should help.
http://webpangea.blogspot.com/2009/12/youtube-ms-mvc-and-jquery.html
If it's an asp.net application, you can just embed an object tag in your markup. Check out the "<embed>
" button to get the tag info for an individual video.
If it's a Windows Forms or WPF desktop application, why not just embed a browser control with the same tag?
Either way, you should be able to just make the object
tag invisible and still be able to hear the music.