Most audio files played through a plug-in, such as flash.<\/span> However, different browsers may have different plug-ins.<\/span> HTML5 defines a new element that specifies a standard way to embed audio files on a web page: the <audio> <\/ audio>.<\/span> To insert a voice in html can use the <audio>.<\/span> Sound format that has been supported to date are MP3, Ogg and WAP.<\/span> Audio files HTML5 supported are MP3, WAV, and OGG.<\/span> Not all types of audio files are supported by the browser.<\/span> Audio file types for web browser support can be seen in the following table.<\/span> a.<\/span> From the table above it can be seen that when the time to put the mp3 files on the web that we have made, there will be some people who can not play mp3 embed the results on the web yan we have made it.<\/span> It may be caused by the browser used does not support the file extension mp3.<\/span><\/p>\n b.<\/span> MIME for audio formats<\/span> Presenting audio in a web interface<\/strong><\/span> When trying listing above program, the audio file is placed in the same folder with the * .htm file and the name of its audio file adjusted with an audio file that you use.<\/span> For program listings above using the audio file named “house.mp3” and “house.ogg”.<\/span> When listing the above program is run will produce audio display in the browser.<\/span> Press the play button to start running the audio.<\/span>
\n \uf0a7 OGG audio format that is supported by Mozilla Firefox, Opera, and Google Chrome.<\/span>
\n \uf0a7 MP3 is an audio format that is supported by Google Chrome and Safari.<\/span>
\n \uf0a7 WAV is an audio format that is supported by Mozilla Firefox and Opera.<\/span><\/p>\n
\n
<\/a><\/p>\n
<\/a><\/p>\n
\n MIME (Multipurpose Internet Mail Extension) is used for a mechanism to transmit a variety of information such as text, applications, images, sound, video, and so forth so that the browser is not wrong to translate the received content.<\/span> Not only on the web, also using MIME email.<\/span> Here is the mime type of audio format.<\/span>
\n
<\/a><\/p>\n
\n Audio files like mp3 can be sung through the <audio> <\/ audio>.<\/span> Here is the complete format to play music into a web application.<\/span>
\n
<\/a><\/p>\n
<\/a><\/p>\n
\n
<\/a><\/p>\n