Different javascript behavior in Chrome, depending on Flash or HTML5 output

Sep 29, 2015

I'm using the following javascript code to set a Storyline variable at the end of a video that is playing inside of a frame. This works great in almost every browser. However, Chrome with HTML5 is NOT setting my variable. I'd rather not remove this option from our compatibility list.

Does js perform differently in Chrome's HTML5 output? I've placed my variable on the slide, and it's value does not change when the end of the video is reached. How can I troubleshoot this from here?

<script src="http://fast.wistia.net/assets/external/E-v1.js"></script>
<iframe src="http://fast.wistia.net/embed/iframe/StringForVideo" allowtransparency="true"
frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen=""
mozallowfullscreen="" webkitallowfullscreen="" oallowfullscreen="" msallowfullscreen=""
width="640" height="360"></iframe>

<script type="text/javascript">
wistiaEmbeds.onFind(function(video) {
video.bind("end", function() {
var player = parent.GetPlayer();
return this.unbind;


9 Replies
Ashley Terwilliger-Pollard

Thanks Mike for letting me know you've reached out to Support as well - if you're able to share the case number here I'm happy to follow along as well. Chrome does have Flash by default, which can be disabled in the browser or you can chose to point directly to the HTML5 output using the story_html5.html link if published for web. 

Mike B.

I figured this out and notified support. My bad, I was viewing the content locally, so javascript was not running. I'm accustomed to previewing in Firefox with HTML5, which even though it's not supported, is great because it allows javascript and web objects to load locally, so I don't have to upload my project every time I want to preview it.

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