Stopping autoplay on iframe video
-
Hi,
I’m trying to stop a video from autoplaying when the page is loaded. I need to use iframe tags because when I use <video> the video doesn’t autoplay, but isn’t responsive on mobile for some reason.
I’ve tried a variety of possible fixes e.g. adding variations of autostart=”0″, autoplay=”0″, autoplay=false, autostart=false, using plugins but nothing seems to make it responsive and not autoplay at the same time.
I’ve also tried using media queries when using video tags but those didn’t seem to do anything.Does anyone have any other ideas about how this could be fixed?
Here is the code I am using now:
<iframe src=”(video link)” controls=”controls” width=”425″ height=”250″ &autoStart=false></iframe>
- The topic ‘Stopping autoplay on iframe video’ is closed to new replies.