Skip to content

Instantly share code, notes, and snippets.

@rafaelmaeuer
Created December 11, 2016 20:30
Show Gist options
  • Save rafaelmaeuer/bd9c5713c91d30b6887147e4e3469c67 to your computer and use it in GitHub Desktop.
Save rafaelmaeuer/bd9c5713c91d30b6887147e4e3469c67 to your computer and use it in GitHub Desktop.
Autoplay HTML5 Video on Android From https://googlechrome.github.io/samples/muted-autoplay/
<h4>autoplay, with muted</h4>
<video autoplay muted loop>
<source src="chrome-clip.mp4" type="video/mp4">
<p>Your browser does not support the video element.</p>
</video>
<h4>autoplay, without muted</h4>
<video autoplay loop>
<source src="chrome-clip.mp4" type="video/mp4">
<p>Your browser does not support the video element.</p>
</video>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment