Sunday, February 26, 2012

[YouTube-API] how mobile web app play video use youtube api ?

I'm a new api user ,I want to creat a mobile web app

get api:
http://gdata.youtube.com/feeds/mobile/standardfeeds/top_rated?alt=json&format=1

return:
media$content->0->url
rtsp://v6.cache3.c.youtube.com/CiQLENy73wIaGwkjsfwsgWXg_BMYDSANFEgGUghzdGFuZGFyZAw=/0/0/0/video.3gp

but the rtsp can't play on mobile web link

I see http://m.youtube.com/#/home ,It can get the 3gp stream url :

http://o-o.preferred.lax02s05.v9.lscache4.c.youtube.com/videoplayback?el=home&begin=0&yms=eLWA1zSCIms&dnc=1&itag=36&ip=173.0.0.0&app=youtube_mobile&signature=7A7DA594D0A45F4D1688DD5D69BBC8465032976C.49072465DBFD349B021679CCAD000D4307AAC883&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Csource%2Cratebypass%2Ccp&len=343000&ratebypass=yes&source=youtube&expire=1330332093&sver=3&key=yt1&ipbits=8&cp=U0hSRVNOUF9OTUNOMl9LSFRBOmRJVlo5eVJBRXJy&id=fa53c499b8072703

how can I get the 3gp stream url use api?

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment