加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – 仅为网站用户显示YouTube私人视频

发布时间:2020-12-13 18:22:54 所属栏目:PHP教程 来源:网络整理
导读:我有使用YouTube API的经验.但我总是把它用于公共视频.现在.我想要实现的是,在我的YouTube频道上制作视频完全不可见(换句话说是私有的),并且仅向网站用户显示此视频. 这可能吗?怎么样? 这是从 Google’s Productforums For clarification. Yes,you can emb
我有使用YouTube API的经验.但我总是把它用于公共视频.现在.我想要实现的是,在我的YouTube频道上制作视频完全不可见(换句话说是私有的),并且仅向网站用户显示此视频.

这可能吗?怎么样?

这是从 Google’s Productforums

For clarification. Yes,you can embed private videos. However,it really isn’t feasible to do so since YouTube’s private videos require that the viewer have a YouTube account,be signed into that account and have that account added to the video’s access list. They are limited to 50 people.
You can embed unlisted videos,they don’t have the same authentication restrictions as private videos. However,all that is necessary to view an unlisted video to know the URL. If your website is crawled by search engines,the unlisted video may as well be public.

您可能希望自行托管自己的视频,以便更好地控制并确保您没有违反YouTube的服务条款(禁止某些使用嵌入式播放器).

Vimeo.com还具有更强大的访问控制功能,只允许将视频嵌入特定域.但是,它们不允许商业用途……如果适用于您,这可能是一个问题.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读