我有使用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还具有更强大的访问控制功能,只允许将视频嵌入特定域.但是,它们不允许商业用途……如果适用于您,这可能是一个问题.