I've embedded a video using

<code><iframe src="HS Website Video Final 8-01-12.mp4" style="height: 232px; width: 534px" class="auto-style15" /></iframe></code>

How do I keep it from starting automatically?

Recommended Answers

First link from Google when typing out your entire question as is: http://stackoverflow.com/questions/5349716/how-to-make-youtube-embed-code-video-auto-start

Jump to Post

All 4 Replies

Thanks for the response however, it does not work. I'm not linking to YouYube.

I got rid of the iframe tag and replaced it with the video tag. Like so...

<video width="320" height="240" controls="controls">
  <source src="movie.mp4" type="video/mp4" ></source>
  <source src="movie.ogg" type="video/ogg" ></source>
  <source src="movie.webm" type="video/webm" ></source>
  <object data="movie.mp4" width="320" height="240">
    <embed src="movie.swf" width="320" height="240" />

However, it does not work in Firefox.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.