27 Replies
Nancy Woinoski

Hi, there is a hack you can make to the storyline compile.js file to prevent the launch page from displaying in html5.  Here is the hack just remember you have to make this edit every time you republish.

In storylinecompiled.js

find

player.launch.find("a").first().click(player.revealPostInterstitial);player.populateIOSLaunch();

After the part that says "player.populateIOSLaunch();" paste in this bit:

player.revealPostInterstitial();

Michael Hinze

Nancy Woinoski said:

Hi, there is a hack you can make to the storyline compile.js file to prevent the launch page from displaying in html5.  Here is the hack just remember you have to make this edit every time you republish.

In storylinecompiled.js

 

find

player.launch.find("a").first().click(player.revealPostInterstitial);player.populateIOSLaunch();

 

After the part that says "player.populateIOSLaunch();" paste in this bit:

player.revealPostInterstitial();


Hi Nancy, thanks for the "hack', I learn something new every day! But was there not a technical reason for having this launch page in the first place? I vaguely remember a similar discussion on an Adobe Captivate forum (HTML5-based tutorials published in Captivate have a similar splash/launch screen), but can't remember anymore why this launch page was there by default. Any ideas?

Nancy Woinoski

Michael Hinze said:

Nancy Woinoski said:

Hi, there is a hack you can make to the storyline compile.js file to prevent the launch page from displaying in html5.  Here is the hack just remember you have to make this edit every time you republish.

In storylinecompiled.js

 

find

player.launch.find("a").first().click(player.revealPostInterstitial);player.populateIOSLaunch();

 

After the part that says "player.populateIOSLaunch();" paste in this bit:

player.revealPostInterstitial();


Hi Nancy, thanks for the "hack', I learn something new every day! But was there not a technical reason for having this launch page in the first place? I vaguely remember a similar discussion on an Adobe Captivate forum (HTML5-based tutorials published in Captivate have a similar splash/launch screen), but can't remember anymore why this launch page was there by default. Any ideas?


Hi Michael - I think the technical reason is/was that if you have audio on first slide and it is set to play automatically  then it won't play in html5. Html5 requires a click event to trigger the audio so the way Articulate got around this was to create that crazy launch page.

I think ( and I could be wrong) that Apple has addressed this issue on the iPad with the latest iOS.

Michael Hinze

Nancy Woinoski said:

Michael Hinze said:

Nancy Woinoski said:

Hi, there is a hack you can make to the storyline compile.js file to prevent the launch page from displaying in html5.  Here is the hack just remember you have to make this edit every time you republish.

In storylinecompiled.js

 

find

player.launch.find("a").first().click(player.revealPostInterstitial);player.populateIOSLaunch();

 

After the part that says "player.populateIOSLaunch();" paste in this bit:

player.revealPostInterstitial();


Hi Nancy, thanks for the "hack', I learn something new every day! But was there not a technical reason for having this launch page in the first place? I vaguely remember a similar discussion on an Adobe Captivate forum (HTML5-based tutorials published in Captivate have a similar splash/launch screen), but can't remember anymore why this launch page was there by default. Any ideas?


Hi Michael - I think the technical reason is/was that if you have audio on first slide and it is set to play automatically  then it won't play in html5. Html5 requires a click event to trigger the audio so the way Articulate got around this was to create that crazy launch page.

I think ( and I could be wrong) that Apple has addressed this issue on the iPad with the latest iOS.


Nancy, audio on the first slide - that rings a bell. Thanks for reminding me

Leon Geschwind

I posted on another forum reply but I figured I'd ask here too... Any idea on how to skip launch page with play button on html5 for Storyline 2? The code listed above doesn't exist in the SL2 player_compiled.js file. I don't have any audio/video playing and I want to skip the launch page when users open on their phones.

Ashley Terwilliger

Hi Leon,

The play button that appears over the top of your course is generated automatically, but I'll defer to the community on if they have a way to remove it by modifying elements of the published output. I do see from your other thread, that another  user reminded you about the inclusion of the mobile player will always generate that first page if launched on a device that supports the mobile player, unless you direct users to the story_html5.html file. 

Laith Salama

To skip the launcher in SL 2 at the end of your story_html5.html file add this within the end script:

document.addEventListener("DOMNodeInserted", function(event) {
if($(event.target)[0].className=="launch_interstitial"){
player.revealPostInterstitial();
}
});

 

Be warned, it has adverse effects on video playback with the course (basically it breaks the videos) so use with caution.

Nova NBR

I'm sorry for posting in the old discussion, but I want to know how to skip that launcher screen in storyline 3. 

I try Published as html5 and wrapped into apk, installed and opened in android. That launcher screen (the black screen with the big circle play button) is always show up. How to skip that?. Please help, thank you.

I'm sorry for my bad english. :-)