public Video GetVideo(string videoID)
        {
            var query = new YouTubeQuery(YouTubeQuery.CreateUserUri(YouTubeConfiguration.Settings.Gallery.User))
            {
                Query = videoID
            };

            var feed = GetYouTubeFeed(query);

            return(YouTubeDataMapper.MapYouTubeVideo((YouTubeEntry)feed.Entries.First()));
        }
        public PagedList <Video> ListVideos(int page, int pageSize)
        {
            var query = new YouTubeQuery(YouTubeQuery.CreateUserUri(YouTubeConfiguration.Settings.Gallery.User))
            {
                StartIndex       = (page - 1) * pageSize + 1,
                NumberToRetrieve = pageSize
            };

            var feed  = GetYouTubeFeed(query);
            var items = from YouTubeEntry videoEntry in feed.Entries select YouTubeDataMapper.MapYouTubeVideo(videoEntry);

            return(new PagedList <Video>(items, Utils.CalculatePageNumber(feed.StartIndex, feed.ItemsPerPage), feed.ItemsPerPage, Utils.CalculatePageNumber(feed.TotalResults, feed.ItemsPerPage)));
        }