Change state of button or changing variable when IFrame or web object complete Jul 20, 2022 By Arijit Munshi Hello, I am trying enable button in the course or changing variable when any embedded video inside iframe is completed or any web object is completed. Is there any Solution?
Lauren Connelly Staff almost 2 years ago07/21/22 at 6:37 pm (UTC) Hello Arijit! Great question! There isn't a way to trigger this in Storyline 360, but you could use code. Here's a discussion that includes a workaround! I hope others in the community will share any tips if they've built something similar.
Jürgen Schoenemeyer almost 2 years ago07/21/22 at 7:06 pm (UTC) is the iframe with the video in the same domain like the training
Dawn Friedel Lauren Connelly over 1 year ago08/08/22 at 3:39 pm (UTC) Can't seem to click on the discussion link. I have a similar issue and would love a work-a-round.
Maria Costa-Stienstra Staff over 1 year ago08/08/22 at 4:25 pm (UTC) Hi, Dawn. It looks like the discussion Lauren shared is no longer available, but I’m hoping other community members can chime in with suggestions for you!
Jürgen Schoenemeyer Dawn Friedel over 1 year ago08/08/22 at 8:00 pm (UTC) where are your videos hosted - youtube ? - vimeo ? here is a solution for youtube (the webobject/iframe part) https://community.articulate.com/discussions/articulate-storyline/add-javascript-to-youtube-video and here some code for vimeo https://community.articulate.com/discussions/articulate-storyline/referencing-embedded-vimeo-video-with-javascript-api Jürgen
5 Replies
Hello Arijit!
Great question! There isn't a way to trigger this in Storyline 360, but you could use code.
Here's a discussion that includes a workaround! I hope others in the community will share any tips if they've built something similar.
is the iframe with the video in the same domain like the training
Can't seem to click on the discussion link. I have a similar issue and would love a work-a-round.
Hi, Dawn.
It looks like the discussion Lauren shared is no longer available, but I’m hoping other community members can chime in with suggestions for you!
where are your videos hosted
- youtube ?
- vimeo ?
here is a solution for youtube (the webobject/iframe part)
https://community.articulate.com/discussions/articulate-storyline/add-javascript-to-youtube-video
and here some code for vimeo
https://community.articulate.com/discussions/articulate-storyline/referencing-embedded-vimeo-video-with-javascript-api
Jürgen