<div class="tab">
<button class="tablinks active" onclick="openVideo(event, 'video1')">Opción 1</button>
<button class="tablinks" onclick="openVideo(event, 'video2')">Opción 2</button>
<button class="tablinks" onclick="openVideo(event, 'video3')">Opción 3</button>
</div>
<div id="video1" class="tabcontent" style="display:block;">
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID_1" frameborder="0" allowfullscreen></iframe>
</div>
<div id="video2" class="tabcontent">
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID_2" frameborder="0" allowfullscreen></iframe>
</div>
<div id="video3" class="tabcontent">
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID_3" frameborder="0" allowfullscreen></iframe>
</div>
<script>
document.getElementById("video1").style.display = "block";
function openVideo(evt, videoName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(videoName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>