Thursday, January 12, 2012

[YouTube-API] doubt regarding searching videos

Hi,

       In our application we are using Youtube data API to search videos.

      I am using the following code.............

      YouTubeQuery query =
      new YouTubeQuery(new URL("http://gdata.youtube.com/feeds/api/videos"));
      query.setFullTextQuery("vodafone");
      query.setOrderBy(OrderBy.PUBLISHED);
     
     
      query.setSafeSearch(YouTubeQuery.SafeSearch.NONE);
      VideoFeed videoFeed = service.query(query, VideoFeed.class);

     1)  Our requirement is getting results that keyword matches in any one of Title or description or tags of Video

      I donot know how it is performing search. could you please give me the clear explanation where query searches?

       please help me in this regard.

       2) can i search on comments of individual video?

Thanks,
Bhaskar

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/OasfYjkmc14J.
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