Autoplay .html5 ? Nov 08, 2017 By Kyle Ortman Hi Team! I made a quick and dirty 5 button menu an published to AWS. When I visit the site URL I get a large "PLAY" button to press... Can I have this start automatically? I want the page to work similar to an app for you phone and this is the only caveat.
Kyle Ortman Author over 6 years ago11/08/17 at 9:00 pm (UTC) I found a thread that had the answer I needed. sebastjan f try adding following lines at the end (just before </script> of the story_html5.html file document.addEventListener("DOMNodeInserted", function(event) {if($(event.target)[0].className=="launch_interstitial"){ player.revealPostInterstitial(); } }); </script>This did the trick for me! Thanks Sebastian!
2 Replies
I found a thread that had the answer I needed.
sebastjan f
try adding following lines at the end (just before </script> of the story_html5.html file
document.addEventListener("DOMNodeInserted", function(event) {
if($(event.target)[0].className=="launch_interstitial"){
player.revealPostInterstitial();
}
});
</script>
This did the trick for me! Thanks Sebastian!
Sweet! Thanks for posting this Kyle.
This discussion is closed. You can start a new discussion or contact Articulate Support.