I am creating a page with videos in a grid layout. It is going to be a huge project, so I need to access the video holder from classes. I have created new controls, but I am unable to hide the original html5 controls. This works:
var player = document.getElementById('vid1');
player.removeAttribute('controls');
This does not (have also tried to apply a class and access that, but no luck):
var player = document.getElementsByTagName('video');
player.removeAttribute('controls');
How can I easily access all the video holders and hide the controls?
Thanks!