How to stop autoplay of video using iframe tag on Safari browser

Vani C.A picture Vani C.A · Oct 13, 2011 · Viewed 19.2k times · Source

i am embedding a video using Quick time in website and it starts to play automatically upon loading page.

Here is the code embed video.

<iframe SRC="${signedVideoURL}&autoStart=false" TYPE="image/xmacpaint"PLUGINSPAGE="https://www.apple.com/quicktime/download"QTSRC="${signedvideoURL}&autoStart=false" WIDTH="480" HEIGHT="297" AUTOPLAY="false" CONTROLLER="true" SCALE="ToFit"> </iframe>

Browser - Safari 5.1.1

I have also tried passing parameter autoplay=0, that didnot work either. Can any one suggest how to stop this autoplay?

thanks

Answer

charly picture charly · Mar 6, 2012

I'm not 100% sure of this but try it anyway (if its not the true answer, it shouldn't be far from it): put the argument autoplay=false in the src String of the iframe youtube video tag. Append it as usual with the & character.

Hope this helps