Change WebObject iframe source with JavaScript?

Sep 14, 2015

Hi!

I want to build a course with some embedded vimeo-videos in Storyline 1.

Is it possible to change the iframe source with JavaScript?
I've tried to change the iframe source (id="vimeoframe") by using a trigger "execute JavaScript":

document.getElementById('vimeoframe').src = newSrc;

But it seems that the iframe cannot be achieved.... :-(

Thanks for your help!

3 Replies
Leslie McKerchie

Hi JP! Are you working with JavaScript as well as this is not something that I would be able to assist in supporting and I'm not sure if Sebastian got anywhere with it or not. This thread is a bit dated, but hopefully he's still subscribed and will be able to chime in and assist. If not, you are welcome to reach out to the user directly via the 'Contact Me' option on the user profile.

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