Skip to main content

Web Objects: embed a web page on a slide

Put a live web page on a slide with a Web Object: a form, a game, a map, a tool. Load it when the slide starts or on click, give it a title for screen readers, and let a page that reports back set variables and count toward the score.

Last updated 4 min read

The problem

How do I embed a website or an HTML activity on a slide, like Storyline's Web Object?

Step by step

  1. Insert it

    Click Web Object (embed a web page) on the toolbar, then click the slide. Drag its corners to size it.

  2. Point it at a page

    In Style, type the Web address. It must start with https://.

  3. Give it a title

    Type a Title, such as "Practice form". Screen readers announce it, and preflight asks for one.

  4. Choose when it loads

    Leave Load the page on When the slide starts, or pick When the learner clicks Load.

  5. Try it

    Preview the slide. The page shows inside it.

What you'll build

A slide with a live web page inside it: a practice form, a calculator, a map, an HTML game. It is Storyline's Web Object, with one difference you'll like: you can see the page in the preview straight away.

Insert and set it up

  1. Click Web Object (embed a web page) on the toolbar and click the slide. Drag the corners to the size you want.
  2. In the Style tab, type the Web address. Use the full https:// address. Pages over plain http can't be embedded in a course.
  3. Type a Title: what a screen reader announces, for example "Practice: fill in the expense form".
  4. Load the page: When the slide starts, or When the learner clicks Load for a heavy page or one with sound.
  5. Leave Show an "Open in a new tab" link ticked. Some sites refuse to be shown inside another page. The link gives learners a way in anyway.

Note: If the slide shows an empty box, the site probably refuses to be embedded. That is the site's choice and nothing in the course can change it. The "Open in a new tab" link is the way round.

Pages that report back

A page you or a vendor built can talk to the course:

  • Tick Let the page set course variables. The page sends { type: "SIM_SET_VAR", name, value } with postMessage, and the course sets that variable if it exists. Only this frame, from the web address you typed, is listened to.
  • Set Points toward the course score above 0 to count it, then pick its Score variable (0–100), an optional Passed variable and a Finished variable. The score counts once, when Finished turns true, and is reported to the LMS like a question.

Then use those variables in triggers, as you would any other: When variable changes → show a "Well done" layer.

Try it

Click Preview. The page loads in place. If you chose When the learner clicks Load, click Load first. If you ticked Let the page set course variables, do something on the page that reports back and check that your trigger fires.

Part of the documentation: Build.

Found something here that does not match what the product does? That is a bug in the guide — see all guides or tell us from the Help Center.