Video Url

Apr 8, 2012 at 1:11 PM

Hello and thanks for your great job;

Have you got exemple of how to retrieve source video url. I try the code below but the urls collection of PhotoInfo give me only flickr page url

 private PhotoInfo getVideoInfo(Photo photo)
    {
        Flickr flickr = new Flickr(ConfigurationManager.AppSettings["FlickrApiKey"], ConfigurationManager.AppSettings["FlickrApiSecret"]);
       
        VideoInfo myVideoInfo = new VideoInfo();// Not in use
        PhotoInfo myPhotoInfo = new PhotoInfo();
        
        myPhotoInfo = flickr.PhotosGetInfo(photo.PhotoId);
 
        return myPhotoInfo;
    }
Thanks in advance for your help
Coordinator
Apr 8, 2012 at 4:53 PM

A call to PhotosGetSizes will return all the URLs for a video or photo, including thumbnails and various movie formats.

Sam

Apr 8, 2012 at 5:06 PM

You rock !

Thanks