Personal I have a code
<div class="box">
<button id="showr">Mostrar</button>
<button id="hidr">Esconder</button>
<div>
<iframe width="420" height="345" src="http://www.youtube.com/embed/oHg5SJYRHA0?autoplay=1"frameborder="0" allowfullscreen></iframe>
</div>
<script>
$("#showr").click(function() {
$("iframe").first().show("fast", function showNext() {
$(this).next("iframe").show("fast", showNext);
});
});
$("#hidr").click(function() {
$("iframe").hide(1000);
});
</script>
I wanted to know the following: When I enter the site, the video is ready to be watched, but does it have some code or some modification that I can make so that the person only sees the video when they click on mostrar
?