Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

play audio source on html

<audio controls>
  <source src="myAudio.mp3" type="audio/mpeg">
  <source src="myAudio.ogg" type="audio/ogg">
  <p>Your browser doesn't support HTML5 audio. Here is
     a <a href="myAudio.mp4">link to the audio</a> instead.</p>
</audio>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #play #audio #source #html
ADD COMMENT
Topic
Name
5+3 =