How to trigger HTML5 play sound on Mobile Safari

How to trigger HTML5 play sound on Mobile Safari

  1. <audio id="play" src="sound/some-sound.ogg" preload="auto"></audio>
  2. <button id="btn" value="play sound"></button>

  3. $(function() {
  4.       $('#btn').on('click', function() {
  5.             $('#play').trigger('play');
  6.             
  7.             setTimeout(function() {
  8.                   $('#play').trigger('play');
  9.             }, 3000);
  10.       });
  11. });

This code works for most mobile browser but Apple Safari, few mobile browsers does not support play html5 format sound without click, therefore they will only hear the sound once, is there any way to overcome it.