Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html5 video hide controls javascript

// add an id to the <video> tag
// select element with given id and remove the "controls" attribute

const element = document.getElementById("YourElementId");
element.removeAttribute("controls");
 
PREVIOUS NEXT
Tagged: #video #hide #controls #javascript
ADD COMMENT
Topic
Name
1+7 =