Wednesday, March 7, 2012

[YouTube-API] Re: Passing user agent string to m.youtube.com and getting correct RTSP link for that specific handset

Hello Ryan,

Based on what you describe, you're not using the official YouTube
playback mechanisms and are instead trying to obtain links to video
streams by scraping data from m.youtube.com. Please familiarize
yourself with the YouTube API Terms of Service:

https://developers.google.com/youtube/terms

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Mar 4, 2:17 pm, "r...@7dks.mobi" <r...@7dks.mobi> wrote:
> Hi
>
> We have developed a mobi site that allows the user to watch videos on
> our Youtube channel. Currently we have provided two ways of viewing
> the video;
>
> 1. Streaming (iPhone and Android) - user views video using standard
> youtube streaming controls.
> 2. RTSP - user clicks on button and native player loads and plays
> video.
>
> We are struggling with RTSP because different handsets have different
> RTSP links and I can't find how to get these links based on the user's
> handset. How do we pass the user agent string to m.youtube.com and get
> the correct RTSP link back so the user is able to view the video in
> the same way they would if they were on m.youtube.com?
>
> Thanks
> Ryan

--
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