I have implemented a web application which uses html audio player. We will be having two type of audio files
mp3 m4a
both files are playing fine in windows chrome, edge and firefox.
Regarding m4a file in safari browser it was throwing Error instead of playing.We tried with below cases
Case 1: Added Mime extension and audio type to "audio/mp4".
Case 2: Added audio type to "audio/x-m4a".
Case 3: Does not provided audio type.
<audio controls><source src="Audio.m4a" type="audio/mp4"></audio>
Am closing this task with answer as M4A cannot be played in MAC Safari browser in html audio player tag after trying out all possible solutions across different sites