YouTube的API V3过滤嵌入视频 [英] YouTube API v3 filtering embeddable videos

查看:263
本文介绍了YouTube的API V3过滤嵌入视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在YouTube的API v3文档资料,也有像区域code参数 videoEmbeddable videoSyndicated 。但似乎他们没有正常工作。我想从我的搜索结果中排除VEVO的视频。所以,它应该是可能的 videoEmbeddable =真正的参数。但这个参数并没有区别,以我的搜索结果。

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.

使用API​​第2版,我可以通过添加参数中删除VEVO vidoes 格式= 5 但这个参数是不是在V3使用。

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

有谁知道如何做到这一点使用V3?

Does anyone know how to do this using v3?

推荐答案

尝试添加&放大器;类型=视讯及videoEmbeddable = TRUE 虽然这可能是一样的previous解决方案,它工作了。你可能有一个更具体的问题,如果似乎。

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.

这篇关于YouTube的API V3过滤嵌入视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆