Show YouTube private videoes only for website users

对着背影说爱祢 提交于 2019-12-03 12:53:18

问题


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.

Is that possible and how?


回答1:


This is from the 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.

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 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.




回答2:


Instead of setting the video to private, set it to unlisted. It won't appear in any listing on youtube, i.e. your channel, search results & related videos but you can link to it and embed it like a normal video.




回答3:


Youtube Provide 3 kinds video permission.

  1. Public ---- Open for all
  2. Unlisted --- Can watch video by embed / shared link only,, but not in youtube search / undel channel.

  3. Private -- own and selected people.



来源:https://stackoverflow.com/questions/11519374/show-youtube-private-videoes-only-for-website-users

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!