I am trying to block some player keys. I have added a listener for 'onBlockedKeyPress' and I am doing the following :
CODE
_onBlockedKeyPress: function(event) {
event.preventDefault();
event.stopPropagation();
},
if I press "pause" (one of my blocked keys), I can see, in the logs, the line saying a blocked key is called. I also logged my listener and it is properly executed.
However, the video is paused (instead of the pause being ignored).
What is the proper way to block keys ?
Regards
Jean-Noel