Search
 
SCRIPT & CODE EXAMPLE
 

HTML

html video hide controls

<video width="320" height="240" controls="hidden">
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>
Comment

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");
Comment

PREVIOUS NEXT
Code Example
Html :: Add a viewport meta tag to the document head to set the width of the layout viewport equal to the width of the device and set the initial scale of the viewport to 1.0. 
Html :: conveert text to uppercase in input field 
Html :: youtube autoplay video 
Html :: html shell 
Html :: how to link to an email in html 
Html :: non breaking space html 
Html :: NavBar Bootstrap v4 Fix 
Html :: html display only on desktop 
Html :: youtube video image 
Html :: html make file input only images 
Html :: make text vertical align middle in table bootstrap 
Html :: html file 
Html :: abrir pdf con html 
Html :: free ebooks 
Html :: how to link a local css file in html 
Html :: gradient on top of image css 
Html :: html basic 
Html :: how to give color to text in html 
Html :: dont show suggestions in input hs 
Html :: keywords html 
Html :: html input suggestion 
Html :: bootstrap 5 datalist example 
Html :: angular check active route 
Html :: doctype html charset utf-8 
Html :: how to add square root symbol in HTML Web page 
Html :: scrolling text html 
Html :: bootstrap text color 
Html :: Multibyte string input conversion in PHP is active and must be disabled 
Html :: add variable in innerhtml 
Html :: html not displaying 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =