Reputation: 283
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
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