I have a Vimeo video (via a universal built-in iframe) hidden on my page. Clicking on the link fades out and clicking outside the video (lightbox style) disappears and hides it, but the video continues to play. I read in the Vimeo API that you can use JSON objects to pause videos, but I donβt understand what they say.
HTML:
<img id="show_tide" class="vid" src"#"> <i<iframe id="tide" class="vim" src="http://player.vimeo.com/video/1747304?portrait=0&color=ffffffapi=1" width="726" height="409" frameborder="0"></iframe>
JavaScript:
$('#underlay').click(function() {
json jquery api vimeo froogaloop
technopeasant
source share