Embedded Software Sim won't play in iframe
Nov 22, 2013
By
Keith Doyle
My ID published a Storyline course with all the correct (or what seem to be) parameters to be published to the web. It's a Software Simulation. When I open the story.html file, it works just like it's supposed to. However, when I embed it in another webpage via iframe, if I click on the hotspots, it doesn't progress. The cursor changes and if I click in an incorrect spot I get the "incorrect" response.
Forgive me, I'm not sure of the markup on here to post code.
embed code:
<div class="videoWrapper">
<iframe width="300" height="150" src="art/enroll/story.html" frameborder="0" seamless></iframe>
</div>
*Note: I have CSS set up to make this responsive so the width and height are irrelevant.*
2 Replies
Hi Keith and welcome to Heroes!
It looks like you've followed along with the steps here for placing Storyline content in a website, but looking at your embed code, the section referencing the story.html file seems to be missing the rest of the web path?
Thanks for responding Ashley. There are two different types of paths, absolute and relative. For any links to content on your own website you should use relative paths in order to minimize HTTP requests that might otherwise affect performance.
About Relative & Absolute Paths
This discussion is closed. You can start a new discussion or contact Articulate Support.