Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouTube API v3 filtering embeddable videos

In YouTube API v3 documentation there are parameters like regionCode, videoEmbeddable, videoSyndicated. But it seems none of them are working properly. I want to exclude VEVO videos from my search results. So it should be possible with videoEmbeddable='true' parameter. But this parameter makes no difference to my search results.

Using API v2 I could remove VEVO vidoes by adding the parameter format=5 but this parameter is not available in v3.

Does anyone know how to do this using v3?

like image 589
Rukshan Avatar asked Nov 02 '22 13:11

Rukshan


2 Answers

When you do a search->list, you can set videoSyndicated to true.

like image 190
Ibrahim Ulukaya Avatar answered Nov 08 '22 15:11

Ibrahim Ulukaya


Try adding &type=video&videoEmbeddable=true although this might be the same as the previous solution, it worked for. You might have a more specific problem, as if seems.

like image 32
Jeff Callahan Avatar answered Nov 08 '22 13:11

Jeff Callahan