How to play .amr file on a website?
Asked Answered
Z

1

8

i have tried below code but not working ? does anyone play amr files in website

<audio id="audio" src="upload/hello2.amr"
       preload="auto" controls muted loop autoplay>
</audio>

any plugin or player which can play amr file in web

Zn answered 13/1, 2015 at 5:31 Comment(0)
Z
6

AMR file is not one of the supported audio files that html5 audio tag supports. Please see the list below for supported audio formats:

http://en.wikipedia.org/wiki/HTML5_Audio#Supported_audio_coding_formats

I would recommend you convert your amr file to mp3 or ogg and then upload it and play it on your server.


original answer:

Your code specifies an mp3 file. Are you sure you put in the amr file?

Zymosis answered 13/1, 2015 at 5:33 Comment(2)
html5 is not supported but any other solution for amrZn
nope, not really... you can read: #1322500Zymosis

© 2022 - 2024 — McMap. All rights reserved.