javascript find video element add a controls attribute code example
Example: html video multiple elements
<video controls>
<source src="/videos/myvideo.mp4" type="video/mp4">
<source src="/videos/myvideo.webm" type="video/webm">
Your browser does not support embedded videos.
</video>