Why every browser support different type sound file ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why every browser support different type sound file ???

is it possible to link just a audio file which support almost every browser??

4th Apr 2018, 5:02 AM
Ashish Sharma
Ashish Sharma - avatar
2 Answers
+ 6
The problem is not support, but codecs. For licensing reasons, some operating systems can not include some codecs, and it is up to the user to install them. Most devices offer default support for OGG, but their compatibility between browsers is not the same. https://caniuse.com/#feat=ogg-vorbis On the other hand, MP3 has a much wider support among browsers, but it does not come natively in all operating systems (a good example is that some Linux distributions do not include them by default): https://caniuse.com/#feat=mp3 Other alternatives can be MP4 and AAC, but being proprietary formats support may be limited in some platforms https://caniuse.com/#feat=aac https://developer.mozilla.org/en-US/Apps/Fundamentals/Audio_and_video_delivery/Cross-browser_audio_basics
4th Apr 2018, 5:17 AM
Mickel
Mickel - avatar
0
thanks
4th Apr 2018, 6:26 AM
Ashish Sharma
Ashish Sharma - avatar