Quantcast
Channel: World Wide Code » HTML 5
Viewing all articles
Browse latest Browse all 7

HTML 5: Playing MP3 using Audio Tag

$
0
0

HTML 5 supports a new Audio tag, which allows you to play music. Here’s a sample HTML Audio Tag:

<audio controls="controls">
  <source src="song.ogg" type="audio/ogg" />
  <source src="song.mp3" type="audio/mp3" />
  Your browser does not support the audio tag.
</audio>

Now you would think that it would be relatively simple to play music on the latest HTML 5 supported browsers, however its not as easy as it sounds…

Amar finds out more details on Learnings from .Net.

Related Links

 



Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images