You can also capture YouTube videos as MP4, hope this will expand your players. You can watch DirectShow CF for playback functionality or place other players in your application that supports MP4 or FLV.
Trying to play it through IE mobile will not work, since the version you need to use the Flash module with support for video playback is not available (the last time I checked).
To get the MP4 file, query this URL:
" http://www.youtube.com/get_video?video_id= " + videoID + "& t =" + token + "& fmt = 18"
To use FLV, follow these steps:
" http://www.youtube.com/get_video?video_id= " + videoID + "& t =" + token
To get the token, call this:
" http://www.youtube.com/api2_rest?method=youtube.videos.get_video_token&video_id= " + videoID
I wrote an application that will capture a playlist with YouTube videos and sync them with my PocketPC, I used TCPMP with the Flash add-in to play the video (externally from my application). Although MP4 also worked on PPC, I am tied to FLV because at that time some YouTube videos are not available as MP4. I don’t care about it now.
, , - iPhone, MP4 . VLC FLV iPhone .