I have a modal dialog which contains a jwplayer video element. I do not want a user to be able to double click on the video element and go to full screen.
Is there a way to prevent this from happening?
I have a modal dialog which contains a jwplayer video element. I do not want a user to be able to double click on the video element and go to full screen.
Is there a way to prevent this from happening?
Try:
const player = document.getElementById('player');
player.allowFullscreen = false;