Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable download button for Google Chrome?

Google Chrome is now shipping with a download button for videos that are just embedded videos (i.e. not MSE):

Canary Controls

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!

like image 490
ranvel Avatar asked Sep 20 '16 20:09

ranvel


People also ask

Can you disable Downloads on Google Chrome?

1, Load chrome://settings/ in the browser's address bar. 2, Scroll down and click on the "show advanced settings" link. 3, Scroll down to the Downloads section. 4, Check the preference "Ask where to save each file before downloading".


1 Answers

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> 
like image 104
Elyor Avatar answered Sep 19 '22 06:09

Elyor