Forum Discussion
Stop auto-play in embedded video - Rise
Same problem here. Managed to embed a video, but it autoplays. Can't figure out how to disable autoplay.
Tried custom HTML and the <video> tag, but Rise doesn't seem to accept it.
I'm sure there must be a solution by now, that I am missing?
- BobBachynsky4 years agoCommunity Member
Nope 4+ years no progress.
- TimWaldron4 years agoCommunity Member
Ah well... can't say that I'm surprised at this point, tbh.
- TimWaldron4 years agoCommunity Member
Good news everyone, I think I found a solution!
Apparently adding a "sandbox" to the iframe solves the problem:<iframe src="myurl.com/myvideo.mp4" allowfullscreen sandbox></iframe>
sandbox - blocks all scripts and automations for the iframe-content
allowfullscreen - enables optional fullscreen
Found it here: html - How to disable auto-play for local video in iframe - Stack Overflow
Sandbox-documentation: HTML iframe sandbox Attribute (w3schools.com)Going to test a Scorm export now and test if the function continues to work on a e-learning platform. Update coming soon.
@Articulate: Would highly appreciate it, if you could give this a test and if it really solves the problem, please add it to your software documentation asap...
Update 01:
sandbox seems to be working fine! Sadly our platform seems to be blocking the "allowfullscreen" function. Will have to check that out next week. Probably something being blocked by sandbox, that still needs to be unblocked.
FYI a collection of sandbox attributes for iframes: HTML iframe sandbox Attribute (w3schools.com)
Related Content
- 11 months ago
- 12 months ago
- 16 days ago