HTML5 Audio - Play the soudns easily
Hello to all and thanks to the moderators for letting us share our ideas.
In this topic I want to introduce the HTML5 powerful tool for playing the audios, sounds and musics. Just add it by
<audio src="1.ogg" controls>
<p>The audio element is not supported.</p>
The message written within the tags is displayed when the browser doesn't support the audio element. But don't worry about the file types support. You can easily solve it by using multiple sources of the audio in different formats; when one is failed, the other is loaded. For more information see:
Audio – The basics of playing sounds on the web pages
Audio – Events and attributes – Load and Play
Audio – Events and attributes – Seeking
Audio – Events and attributes – Music Play List
What else do you know to learn me?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread