Simple HTML5 Audio File

In this example below you will see how to do a Simple HTML5 Audio File with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by 1Marc, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright 1Marc ©
  • HTML
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Simple HTML5 Audio File</title>
  
  
  
  
  
</head>

<body>

  <audio controls>
  <source src="http://jPlayer.org/audio/mp3/Miaow-01-Tempered-song.mp3" type="audio/mpeg">
  <source src="http://jPlayer.org/audio/ogg/Miaow-01-Tempered-song.ogg" type="audio/ogg">
</audio>
  
  

</body>

</html>

Comments