Forum Discussion
AliceKowalski-7
8 years agoCommunity Member
Stop auto-play in embedded video - Rise
I have three iframe embedded videos, one on each tab of an interactive tabs block in Rise. During testing, once the section is loaded/displayed on the screen, all three videos start playing at the s...
TimWaldron
3 years agoCommunity Member
Hi,
have you tried using a "sandbox"? That seemed to solve the problem on my project:
<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)
Related Content
- 11 months ago
- 12 months ago
- 16 days ago