Created
February 3, 2017 23:39
-
-
Save s4parke/c59ba1f5171a25e439cc12a08005f19b to your computer and use it in GitHub Desktop.
Storyline HTML5: Autoplay, Remove interstitial play button
This file contains hidden or 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
<!-- 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