Created
January 6, 2017 21:43
-
-
Save alchzh/5ec6d3cf726e84a6986931e046b99214 to your computer and use it in GitHub Desktop.
stuff
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
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
myAudio = new Audio('http://mc.artofproblemsolving.com/sounds/intro.ogg'); | |
myAudio.addEventListener('ended', function() { | |
this.currentTime = 0; | |
this.play(); | |
}, false); | |
myAudio.play(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment