I record sound on different mobile phones, and each saves the file in a different format, for example
.m4a, .3ga, .amr
. The problem I am facing is how to play such audio files in any browser.
<audio controls height="100" width="100"> <source src="myfile.mp3" type="audio/mpeg"> <source src="myfile.ogg" type="audio/ogg"> <embed height="50" width="100" src="myfile.mp3"> </audio>
I tried the above code, but not useful. because I canβt apply the code for .m4a, .3ga and .amr.
Phone records will not necessarily be in mp3 files
Any other approach I need to take?
Any suggestions? You are welcome,
source share