Skip to content

Instantly share code, notes, and snippets.

@s4parke
Created February 3, 2017 23:39
Show Gist options
  • Save s4parke/c59ba1f5171a25e439cc12a08005f19b to your computer and use it in GitHub Desktop.
Save s4parke/c59ba1f5171a25e439cc12a08005f19b to your computer and use it in GitHub Desktop.
Storyline HTML5: Autoplay, Remove interstitial play button
<!-- Around line 79 -->
<script src="mobile/player_compiled.js" type="text/javascript"></script>
<script>
// Insert the following 2 lines anywhere to enable autoplay on mobile
player.launch = $('<div></div>');
window.setTimeout( player.revealPostInterstitial, 500 );
// Storyline defaults
// player.autoplay = true;
// trace.suppress = false;
// ...
// ...
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment