Let's take a step back: What's the problem you're trying to solve?
There might be other ways to achieve what you want, but I wouldn't recommend that disabling the right-click menu should be one of them.
General developer forum
desable menu when click in video
This discussion has been locked so you can no longer reply to it.