<div class="tab">
<button class="tablinks" onclick="openCity(event, 'opcion1')">Opcion 1</button>
<button class="tablinks" onclick="openCity(event, 'opcion2')">Opcion 2</button>
<button class="tablinks" onclick="openCity(event, 'opcion3')">Opcion 3</button>
</div>
<div class="tabcontent" id="opcion1" style="display:block;">
<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/IIYUyi2_sNU" width="560"></iframe>
</div>
<div class="tabcontent" id="opcion2">
<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/hzmpysD8Ql0" width="560"></iframe>
</div>
<div class="tabcontent" id="opcion3">
<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/d4hute00IAE" width="560"></iframe>
</div>
<script>
function openCity(evt, cityName) {
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(cityName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>