Skip to content

Instantly share code, notes, and snippets.

@brianhadaway
Last active October 2, 2015 19:38
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 brianhadaway/2305705 to your computer and use it in GitHub Desktop.
Save brianhadaway/2305705 to your computer and use it in GitHub Desktop.
UbaPlayer - Autoplay at Runtime
<script>
$(function(){
$("#ubaPlayer").ubaPlayer({
autoPlay: $('.audioButton').eq(0)
});
});
</script>
@JimTeva
Copy link

JimTeva commented Jan 5, 2015

Hi Brian,
Do you put this script at the end of the body tag?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment