Yes, it is. You're asking for the link to the watch page for the new
video? The following code should work:
// This assumes you have your ResumableGDataFileUploader.Builder
properly configured in the variable "builder"
Future<ResponseMessage> futureResponse = builder.build().start();
ResponseMessage response = futureResponse.get();
VideoEntry videoEntry = new VideoEntry();
videoEntry.parseAtom(new ExtensionProfile(),
response.getInputStream());
// videoEntry.getHtmlLink().getHref() will return the URL for the
watch page.
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Jan 8, 6:03 am, raghunath n <visuma...@gmail.com> wrote:
> I'm able to upload the videos to youtube using resumable upload (Java
> client). But after upload , is it possible to get the uploaded video link.
--
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