Storyline preloading non-media type files

May 23, 2016


We've been experimenting with getting WebGL training 'games' running in Storyline, and so far it is working as expected as a Web Object. We're using Unity3d to develop these games.

Unfortunately the files are quite large and take some time to download. I'd like to be able to preload the data files (.jsgz, .memgz and .datagz) if possible. I've read that Storyline does do this with media files, but I don't know how to get it working for binary/data files.

Here's is the WebObject html file:

<!doctype html>
<html lang="en-us">
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | Storyline Test</title>
/* a style sheet needs to be present for cursor hiding and custom cursors to work. */
* {
margin: 0;
padding: 0;

canvas {
width: 100%;
height: 100%;
position: absolute;
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" height="900px" width="1600px"></canvas>
<script type='text/javascript'>
var Module = {
TOTAL_MEMORY: 268435456,
errorhandler: null, // arguments: err, url, line. This function must return 'true' if the error is handled, otherwise 'false'
compatibilitycheck: null,
dataUrl: "Release/Storyline",
codeUrl: "Release/Storyline Test.js",
memUrl: "Release/Storyline Test.mem",
<script src="Release/UnityLoader.js"></script>

Is there any way to tell storyline to preload non media type assets?


1 Reply
Christie Pollick

Hi, Bishinski -- Many thanks for reaching out! Although I am not aware of a way to preload non-media type assets and would need to defer to your fellow community members to assist you further, I did want to pass along the following info on How Content Is Preloaded in Articulate Storyline:

To make playback as smooth as possible, your published Articulate Storyline courses will preload content in the following order:

  • Assets are loaded for the first slide (or the current slide when resuming), so the course can begin playing right away.
  • Assets are then loaded for the next three slides to prevent playback delays.
  • Assets are then loaded for the remainder of the course.

This discussion is closed. You can start a new discussion or contact Articulate Support.