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

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" />
  </object> 
</video>

However, it does not work in Firefox.

Be a part of the DaniWeb community

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