Package com.googlecode.mashups.services.youtube.api

Examples of com.googlecode.mashups.services.youtube.api.YouTubeSearchResultItem


            Namespace youTubeNamespace = Namespace.getNamespace(YOUTUBE_NAMESPACE, YOUTUBE_NAMESPACE_URL);       
           
            String previewURL = element.getChild(GROUP_ELEMENT, mediaNamespace).getChild(THUMBNAIL_ELEMENT, mediaNamespace).getAttributeValue(URL_ATTRIBUTE);           
            String videoID    = element.getChild(GROUP_ELEMENT, mediaNamespace).getChild(VIDEOID_ELEMENT, youTubeNamespace).getValue();
           
            searchResults.add(new YouTubeSearchResultItem(title, link, author, videoID, pubDate, previewURL));        
        }
       
        return searchResults;
    }
View Full Code Here

TOP

Related Classes of com.googlecode.mashups.services.youtube.api.YouTubeSearchResultItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.