-
-
Save 1littleOrc/73aa8b2ab36d3829d74d82199ee884f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( "#l2" ).mouseover(function() { | |
var state; | |
if(state === false) { | |
$('#bg-1').attr('src', 'video-bg/Mp4/Huppa.mp4'); | |
$('#bg-2').attr('src', 'video-bg/Webm/Huppa.webm'); | |
$("video")[1].load(); | |
state = true; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment