Forum Discussion
FrancoisSALLIOT
2 years agoCommunity Member
Can we use JavaScript to launch an external video at the start of the slide in Storyline ?
I would like to launch a video hosted on Vimeo automatically when the slide loads.
For now, you have to click on the video to launch it. Is there another option?
Should I insert a web object? when I try, under duress, to open it in an outside window.
I just want to autoplay an external video automatically on my slide. Maybe JavaScript could help me?
Thank you for your help
Morgan
- Jürgen_Schoene_Community Member
the correct embed code with autoplay is
<iframe src="https://player.vimeo.com/video/820425861?autoplay=1" width="640" height="360" frameborder="0" allowfullscreen allow="autoplay"></iframe>
- you cannot force autoplay - you can only wish it -> "?autoplay=1"
- the browser - not the website* - decides if autoplay without user interaction is allowed
- Important: on Review 360 autoplay in iFrame (webobject) don't work with Chrome / MS Edge ... (Review 360 is wrong configured)
- you have to test the vimeo autoplay on your LMS
- there is no different with autoplay between "vimeo in a web object" and "video (vimeo) from website ..."
* Vimeo