dchadney
dchadney

Reputation: 283

HTML5 video tag controls="false" - controls show on pause

I have a standard HTML5 tag and using controls="false" to hide the native browser controls. But these show up again when the video is paused using javascript. How can I prevent this from happening?

Upvotes: 2

Views: 3176

Answers (1)

abir_maiti
abir_maiti

Reputation: 490

Remove controls="false". If you do not want any browser controls, then you should remove the attribute entirely. Because controls is a boolean attribute. It does not require a false or true property. Just defining it will be enough to make it true.

Upvotes: 5

Related Questions