Last active
October 2, 2015 19:38
-
-
Save brianhadaway/2305705 to your computer and use it in GitHub Desktop.
UbaPlayer - Autoplay at Runtime
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
<script> | |
$(function(){ | |
$("#ubaPlayer").ubaPlayer({ | |
autoPlay: $('.audioButton').eq(0) | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Brian,
Do you put this script at the end of the body tag?
Thanks