I\'m trying to find the right GTLQueryYouTube parameters to filter out videos which can\'t be played on mobile (in an iOS UIWebView). The videoEmbeddable and videoSyndicated pa
One possible solution (admittedly, not very elegant) is to make two GTLQueryYouTube
calls:
videoSyndicated
off (or set to all
): search for the keyword "VEVO" in the description field of GTLYouTubeSearchResultSnippet
, return top search result
videoSyndicated
on (set to true
): best search result (with appropriate filters of your choice).
If the first query returns a null result, then you assume that there is no VEVO video, and you use the next best playable video (2).