Justin
Justin

Reputation: 566

HTML5 video autoplaying without autoplay attribute

I have an embedded HTML5 video that is autoplaying on iOs6.0.1 in mobile Safari without the autoplay attribute being present. Any ideas on what is going on or how to stop the autoplaying?

<video width="640" height="480" controls="controls" preload="metadata">
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

Thanks!

Upvotes: 2

Views: 10838

Answers (1)

Jules
Jules

Reputation: 14510

Try adding this code: autoplay="false".

Upvotes: 5

Related Questions