禁用Google Chrome的下载按钮? [英] Disable download button for Google Chrome?
问题描述
我很难找到Chrome的< video>
标记。有没有人知道是否有一种方法 - 禁用控制和创建自己的视频播放器控制 - 禁用此功能?
我意识到,如果这显示,它已经很容易下载视频,我只想禁用该功能作为控件的一部分出现。
谢谢! / strong>
< video width =512height =380controls controlsList =nodownload>
< source data-src =mov_bbb.oggtype =video / mp4>
< / video>
Google Chrome is now shipping with a download button for videos that are just embedded videos (i.e. not MSE):
I'm having a hard time find any documentation for Chrome's implementation of the <video>
tag. Does anyone know if there is a way - short of disabling "controls" and creating your own video player controls - of disabling this feature?
I realize that if this is showing, it's already easy to download the video, I just want to disable that functionality from appearing as part of the controls.
Thank you!
or you can simply add nodownload
in controlsList
<video width="512" height="380" controls controlsList="nodownload">
<source data-src="mov_bbb.ogg" type="video/mp4">
</video>
这篇关于禁用Google Chrome的下载按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!