Skip to content

Instantly share code, notes, and snippets.

@m90
Created September 21, 2012 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m90/3760145 to your computer and use it in GitHub Desktop.
Save m90/3760145 to your computer and use it in GitHub Desktop.
seeThru play video on hover
$(document).ready(function(){
//see http://api.jquery.com/hover/ for info on .hover()
$('#video').seeThru({start:'external'}).hover(function(){
//handler for mouseover
this.play();
}, function(){
//handler for mouseout
this.pause();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment