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?
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?
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
Thanks for the response however, it does not work. I'm not linking to YouYube.
A quick search tells me that it's not possible... http://www.blackhatworld.com/blackhat-seo/youtube/171955-truth-about-iframes-autoplay.html
.
.
I suggest you work around it (if no one else knows how to do this...) by opening a video in a new window/tab when the user presses a button (idn, call it "watch this video" button)...
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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.