I am working on an application for Windows Mobile 6 (or maybe 5) that plays YouTube videos. Well, it should play YouTube videos (and control/query the player about status changes, current frame/time, etc.)
After scouring the web for quite some time now (and a few trials), I still couldn't find a way to do this. The options I know of are:
Use the YouTube player, embedded in HTML, controllable via JavaScript. However, I couldn't watch YT videos from IE Mobile, to begin with -- I get an error message saying something along the lines of "you need a browser with Flash Player 8 and JavaScript enabled".
Host a Media Player control, but WMP refuses to play YT videos, including the Mobile format.
Use DirectShow. I'm still looking into this one (I've never worked with COM, let alone DirectShow, before), but I am yet to find a solution that supports YouTube's format(s)
I would rather write this application in C#, but C++ works, too.
Help me, O Wise Sages of StackOverflow!