Questions tagged [html5-audio]

The audio element is used to embed sound content in an HTML or XHTML document. The audio element was added as part of HTML5.

HTML5 defines a new element which specifies a standard way to embed an audio file on a web page: the <audio> element.

The control attribute adds audio controls, like play, pause, and volume.
You should also insert text content between the <audio> and </audio> tags for browsers that do not support the <audio> element.
The <audio> element allows multiple <source> elements. <source> elements can link to different audio files. The browser will use the first recognized format.

Read on at w3c HTML5 Audio. More information can also be found on Wikipedia.

Related Articles:

3529 questions
29
votes
5 answers

Custom CSS for

I'm building a music player web application which implements the HTML5 audio tag, however would like it to look consistent across browsers - is it possible to define my own custom CSS? And how?
Fela Maslen
  • 2,022
  • 3
  • 25
  • 46
29
votes
4 answers

Custom progress bar for

I am mind boggled at working out how to create a custom seekbar for an audio player using the tag and simple Javascript. Current Code: