This que开发者_如何学编程stion is about accessing YouTube content via a C# WinForms application. The requirements are:
- To retrieve the metadata for a playlist, or for all playlists from a given artist.
- To embed video and play it from within the app, synced to external timing events.
Approaches we've thought of:
- Use the YouTube Data API Protocol to retrieve playlists. There isn't a C# wrapper out there as far as we can tell, though that may be easy to do.
- Use a WebBrowser to display the video - not sure how we'd control the video though.
Questions:
- Are these the right approaches?
- Is there C# wrapper for the YouTube Data API protocol?
- What is the easiest way to embed the video and to control the video timing?
Many thanks.
Try here: http://code.google.com/apis/youtube/2.0/developers_guide_dotnet.html
精彩评论