I found that in Chrome, downloading video is easy: right-click, save as... ready.
I also found a piece of code that should prevent this:

$(document).ready(function(){
$('#videoElementID').bind('contextmenu',function() { return false; });
});

My question is: Where should i put it?

Anyone with experience on this?

Thanx,
Cas

Comments

caskraker’s picture

Status: Active » Closed (fixed)

Forget it. For anyone interested i found a module that prevents all right-click action on your entire site:

Copy Prevention.

It works wonders on disabling the right/click context menu in Chrome, allowing also to prevent text and images to be copied. I tested this on FF and Safari too.

You can also exclude usergroups from the regime, by default the admin is excluded.