2
I would like to remove the video download options (I know this will not prevent downloading it through other means. But the idea is just to make it harder for more lay users).
I have the following example: https://jsfiddle.net/n0ng38eo/
Where through CSS I can hide the video download button.
But in case the user right-click, it still has the option to download the video:
I would like to remove this option also via javascript or some kind of HTML configuration.
Okay, so he enters the page with Google Chrome, displays the source code, clicks on the video link and the infamous little window appears for him to download.
– user60252
@Leocaracciolo in the question I said that the idea was not impelling to download the video. Until pq this is practically impossible. As sophisticated as q was the method I could use a program and record it when it was playing on screen. I just wanted to disable this option for laypeople. In the link of stackoverflow q I found the solution, there are more advanced methods as well. But for q I needed it sufficed.
– alan
I understood, but the ideal then would be to prevent laypeople, little laypeople, more or less laypeople and laypeople. Leave the gap only for smart users! My answer covers every class. :)
– user60252
I edited the answer and brought the code here, if one day jsfiddle goes offline for maintenance, attack or old urls are removed you will have the security of the code be safe in the answer as well. + 1 for your answer
– Guilherme Nascimento