title: Image gallery not works when I click on youtube video
body: <p>In my website I have a images gallery, if you click on video thumbnail he shows perfectly but if you click on image thumbnail, this not works.</p>
  
  <p>Check my gallery [here][1]. </p>
  
  <p>I have a function called muestraVideo(idyoutube).This function receives the parameter 'idyoutube':</p>
  
  <pre><code>function muestraVideo(idyoutube)
  {
      $('#video_prod')[0].style.display = 'block';
      $('#gallery')[0].style.display = 'none';
      $('#iframe_video')[0].src = 'http://www.youtube.com/embed/'+idyoutube+'?autoplay=1&amp;rel=0';
  }
  </code></pre>
  
  <p>It's very simple, but console of Google Chrome not show errors.</p>
  
  <p>What's the problem?</p>
  
  <p>Many thanks.</p>
  
  <p>[1]: </p>