I am using the following audio tag <audio id="player"></audio> and in jquery I have used
var player = document.getElementById('player');
player.src ='/ajax.php';
player.play();
Safari browser showing following error and audio is not playing. Unhandaled promise Rejection: NotSupportedError: The Operation is not supported
I have search this but not got any proper solution. Any one knows the solutions? Thanks in advance.