title: How to load audio completely before playing?
body: <p>I have to load audio completely before playing it. Player should play audio automatically after loading it completely. There should not be pause button/user can not pause it. Here's my code, but unable to do so.</p>
  
  <p><em>Hyper Text Markup Language:</em></p>
  
  <pre><code>&lt;audio class="audio-player" onloadeddata="myOnLoadedData()" onprogress="myOnProgress()"  src="&lt;?php echo $audio_link;?&gt;" controls&gt;
  </code></pre>
  
  <p></p>
  
  <p><em>JavaScript:</em></p>
  
  <pre><code>function myOnLoadedData() {
      console.log('Loaded data'); 
      $('audio.audio-player').attr('autoplay','autoplay');
  }
  function myOnProgress(){
      console.log('downloading');
  }
  </code></pre>
  
  <p>Or is there any other player that meets my requirement?</p>