4

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?

pac w
  • 647
  • 6
  • 17

1 Answers1

0

Try:

const player = document.getElementById('player');
player.allowFullscreen = false;
Or Assayag
  • 5,662
  • 13
  • 57
  • 93
  • 1
    While this code may answer the question, providing additional context regarding how and/or why it solves the problem would improve the answer's long-term value. – Donald Duck Dec 28 '20 at 20:59