Forum Discussion
Custom resume function
Hello LucianaPiazza,
Thank you for your feedback.
The database I’m using is MySQL, and I haven’t made any changes yet to the Player properties.
I’m familiar with the built-in resume options of the player, but I’m looking for a solution to store resume data in the database based on the logged-in user. Since the application is not an LMS and does not support SCORM, I’m using a web export and want to handle the rest with manual coding.
Users log in to the application, but the training itself is not aware which user is logged in. My idea is to store the user along with the resume data in the database. Every time the training starts, the application will load the user information. If the user has any saved data, the training can resume from that point.
Can the web-exported version provide resume data, or do I need to code that manually? Also, what data does the resume function expect when starting the training?
Thanks for your help so far!
Hi Miguelvanden090!
Glad to see Luciana has been helping you!
Storyline’s built-in resume behavior is designed for LMS use, where it stores a compressed suspend-data string and retrieves it on return.
In Web output, Storyline can resume in the same browser, but that behavior relies on browser storage rather than an exposed data format you can capture or reuse. Because of that, Web-published courses don’t provide a resume package you can store in your own database or reload manually. The course also isn’t aware of which user is logged in to your application.
To support database-driven resume, you’d need custom code to capture the specific state you want to save and then reapply it when the user returns. We want your published content to work smoothly in all supported browsers, so we don't officially support modifying the published output. However, other folks in the community may have discovered a workaround to share with you. I suggest posting this inquiry in our dedicated JavaScript group!
Related Content
- 5 months ago
- 5 months ago
- 10 months ago