I’m not sure why <video>
doesn’t honor event.preventDefault();
The way I go around this is pretty hacky. I just override the click and dblclick events of the parent div to solve my problem since I only want to prevent pause/play/full screen.
I’m not sure why <video>
doesn’t honor event.preventDefault();
The way I go around this is pretty hacky. I just override the click and dblclick events of the parent div to solve my problem since I only want to prevent pause/play/full screen.