是否只能删除“稍后观看"和“分享" youtube iframe嵌入播放器中的按钮 [英] Is it possible to only remove the "watch later" and "share" buttons from youtube iframe embed player
本文介绍了是否只能删除“稍后观看"和“分享" youtube iframe嵌入播放器中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以后如何删除手表并从youtube iframe嵌入式播放器中共享按钮.使用以下嵌入代码嵌入视频剪辑.
How can I remove the watch later and share buttons from youtube iframe embed player. Using the following embed code for embedding video clips.
<iframe width="854" height="480" src="https://www.youtube.com/embed/cPVgwz5aN1o" frameborder="0" allowfullscreen></iframe>
使用showinfo = 0会删除包含视频标题的完整标题.
Using showinfo=0 removes the full Header which also contains the Video Title.
是否可以仅从标题中删除稍后观看"和共享"按钮?
Is it possible to only remove "Watch Later" and "Share" buttons from the header?
推荐答案
使用YouTube嵌入的隐私增强模式(youtube-nocookie),它将隐藏稍后观看"按钮,而不是共享"按钮.
Using YouTube embed's privacy-enhanced mode (youtube-nocookie), it will hide "Watch later" button, but not "Share" button.
<iframe width="854" height="480" src="https://www.youtube-nocookie.com/embed/cPVgwz5aN1o" frameborder="0" allowfullscreen></iframe>
这篇关于是否只能删除“稍后观看"和“分享" youtube iframe嵌入播放器中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文