Instead of using display="none";
for each video manually, is there an automatic way to do this? So that I don't have to copy/paste the same code.
(P.S. There's 21 videos, going to be hundreds eventually.)
function showVideo1() {
document.getElementById('video1').style.display = "block";
document.getElementById('video2').style.display = "none";
document.getElementById('video3').style.display = "none";
document.getElementById('video4').style.display = "none";
document.getElementById('video5').style.display = "none";
}