Using HTML5 video, right click presents some options and I'd like to disable/hide some of them .. can that be done ? Or is it all or nothing? I've seen how to disable completely .. but was hoping for customization if possible using CSS or JS but without 3rd party packages ...
Asked
Active
Viewed 81 times
0
-
Why would you want to do this? – kvambaam Sep 23 '16 at 22:52
-
It doesn't matter why .. the question is whether there is a way or not .. but one reason is my video does not have sound, so having the option to mute / unmute is unneeded .. – James Kunz Sep 26 '16 at 14:23
1 Answers
0
$(document).bind("contextmenu",function(ev){
if(ev.target.nodeName=='VIDEO')
{
return false;
}
});

nacesprin
- 392
- 7
- 16