Monday 15 April 2013

javascript - Youtube API Query; exclude one video from feed? -


Is there a way to exclude a video from a YouTube API feed?

I already have ? Q = query (), but first you need to find a video with a specific keyword before you can exclude the video ... I just want to exclude 1 video, prioritize video ID ;

  & lt; Script src = "http://gdata.youtube.com/feeds/users/USERID/uploads?alt=json-in-script&callback=show MyVideos2&max-results = 3 & Format = 5 & ​​amp; amp; q = KEYWORD1 + -keyword2 "& gt; & Lt; / Script & gt;   

(btw q = the query is ending)

Any help is greatly appreciated !!

I think your showMyVideos2 () while executing the callback function It would be very easy to exclude that item. In general, query parameters are better suited for match / exclusion based on metadata compared to video IDs.

No comments:

Post a Comment