我可以在没有说明来自 YouTube 的情况下嵌入 YouTube 视频吗? [英] Can I embed a YouTube Video without an indication it's from YouTube?
问题描述
我想在我的网站上托管一些未列出的视频和直播流,但我不希望任何类型的迹象表明该视频源自 YouTube.我有哪些选择?我想隐藏稍后观看"、分享"和复制链接",并禁止点击标题进入观看页面.
There are a few unlisted Videos and Live Streams that I'd like to host on my website but I don't want any type of indication showing that the video originated from YouTube. What are my options? I want to hide Watch Later, Share, and Copy Link as well as disabling clicking the title to end up on the watch page.
有嵌入式选项吗?我可以自己获取视频/流式传输并将其放入自定义播放器吗?
Are there options for the embedded? Can I get the video/stream it self and throw it into a custom player?
谢谢.
推荐答案
这可能不是最好的答案,但是,您可以使用某些第三方库(如 ytdl)提取精确视频格式(如 mp4_720p)的视频 URL
,然后在您网站上的自定义视频播放器中播放该流网址.
This may not be the best answer but , you can extract video URL of exact video format like mp4_720p with some third party libraries like ytdl
and then play that stream url in a custom video player on your site.
这篇关于我可以在没有说明来自 YouTube 的情况下嵌入 YouTube 视频吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!