仅为网站用户显示 YouTube 私人视频 [英] Show YouTube private videoes only for website users

查看:27
本文介绍了仅为网站用户显示 YouTube 私人视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有使用 YouTube API 的经验.但我总是将它用于公共视频.现在.我想要实现的是,使我的 YouTube 频道上的视频完全不可见(换句话说,是私密的),并且仅向网站用户显示此视频.

I have experience with YouTube API. But I always used it for public videos. Now. what I want to achieve is, to make video on my YouTube channel TOTALLY invisible (in other word private) and shows this video only to website users.

这可能吗?如何做到?

推荐答案

本文来自 Google 的产品论坛

为了澄清.是的,您可以嵌入私人视频.但是,这样做确实不可行,因为 YouTube 的私人视频要求观看者拥有 YouTube 帐户、登录该帐户并将该帐户添加到视频的访问列表中.他们仅限于 50 人.您可以嵌入不公开的视频,它们与私人视频没有相同的身份验证限制.但是,查看未列出的视频以了解 URL 所需的一切.如果您的网站被搜索引擎抓取,则不公开的视频也可能是公开的.

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 的服务条款(该条款禁止使用嵌入式播放器的某些用途).

You may want to look into self-hosting your own videos to have better control and to be sure that you aren't violating YouTube's Terms of Service (which prohibits some uses of the embedded player).

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

Vimeo.com also has more robust access controls and can only allow the video to be embedded on a specific domain. However, they don't allow commercial use...so that may be a catch if that applies to you.

这篇关于仅为网站用户显示 YouTube 私人视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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