I have iframe
of Youtube, and a div
over it, I want it when the user clicks on that div
it plays in the video.
My HTML:
<div class="p-relative">
<div class="botaoMaior">
<div class="btplay"></div>
</div>
<div class="editable videoMaior" name="videoMaior">
<iframe width="960" height="780" src="//www.youtube.com/embed/eX0IjD5DPQI" frameborder="0" allowfullscreen=""></iframe>
</div>
</div>
I would like something from the Tupo:
$( ".botaoMaior" ).click(function() {
$( ".botaoTeste" ).click();
});