Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

$video.controls = "[true|false]"; not working on Firefox

  • No replies
  • 1 has this problem
  • 3 views
more options

I'm building a custom html5-mediaplayer. I use custom controls, so when I create a media element (with JS) I first set it to controls = false; When going fullscreen with a video, I want to change the value of controls to true, so that they appear in fullscreen mode only. However, the object stays on false. It seems one cannot change the controls, once they are set.

Am I missing something? How can I change that value? All other browsers I've tried do that nicely (Chromium, Opera, Safari - Linux and MacOS).

Thanks for any hints!

chris

...oh, you can see this thing in the wild here: https://musicchris.de/?page=media