Friday, January 20, 2012

[YouTube-API] Re: Embed player which always shows the latest uploaded video?

Hello Daniel,

You would need to use the YouTube Data API to fetch the uploads feed
for the user in question, and then look at the first entry in that feed
—that will contain the most recent video that the user uploaded.

http://code.google.com/apis/youtube/2.0/developers_guide_protocol_video_feeds.html#User_Uploaded_Videos

The video entry in that feed will contain the video id, and you could
use that video id in the chromeless player like you normally would.

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


On Jan 20, 1:26 am, mcdaniels <mcdaniels...@gmail.com> wrote:
> Hi folks!
> I ve been searching for a solution to embed a chromeless player, which only
> shows the latest uploaded video. The background is, that we are uploading
> videos via smartphone. When a video is uploaded, the embedded player should
> automatically show this new video, without changing the video-id in the
> embed code.
>
> Is this possible? If so, can you please give me some tips how I can do that?
>
> Greetings and thank you!
>
> Daniel

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