JumpToSlide in JavaScript Not Working
I'm trying to create navigation based on variables. The JumpToSlide function in JavaScript works when a project is exported to Review 360 as expected. It does not work when exported to web.
- Export to Review 360 WORKS
- Preview in Storyline 360 - FAILS
- Export to Web - FAILS
- Upload to Apache Server - FAILS
Here is the code I'm using.
On Slide 1 Trigger: Set slideID to variable Slide.Id when timeline starts on this slide.
On Slide 3 Button to return to Slide 1 with the following JavaScript:
var slideID = GetPlayer().GetVar("slideID");
GetPlayer().JumpToSlide(slideID);
- Here is the project on Review 360 https://360.articulate.com/review/content/db4f4e5f-bdb5-433f-87b8-e3cf431c78f4/review (WORKS)
- Here is the project on a web server Slide Jump Test_1.0 (streamlearn.net) (FAILS)
Thank you to Nathan_Hilliard for help debugging this.
on Review 360 storyline courses are using a special mode "dark-spider" with more features in GetPlayer()
publish for Web/LMS -> normal mode
publish for Review 360 -> "dark-spider" mode
you can activate "dark-spider" with
window.autoSpider = true;
in story.html
now you 'only' have to test whether this spider-mode has side effects