Skip to content

Instantly share code, notes, and snippets.

@craic
Last active December 27, 2015 05:09
Show Gist options
  • Select an option

  • Save craic/7272243 to your computer and use it in GitHub Desktop.

Select an option

Save craic/7272243 to your computer and use it in GitHub Desktop.
Use the <audio> tag to play an audio file in a web page
<audio autoplay="autoplay" controls="controls">
<source src="/assets/Doctor_Who_theme_excerpt.ogg" />
<p>Your browser does not support the audio element.</p>
</audio>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment