title: Phonegap/Cordova - media api - when play audio from URL, UI freeze a few seconds
body: <p>After few days of investigation, i still got no luck on this issue, thanks in advance if you can help me out! </p>
  
  <p>i am using cordova 3.3 to do my iOS app, one feature is to play an audio clip from a URL. </p>
  
  <p>I am using cordova's offical media api, here is how i use it following their offical examples</p>
  
  <p>var myMedia = new Media("<a href="http://123.com/xyz.mp3" rel="nofollow">http://123.com/xyz.mp3</a>");
  myMedia.play()</p>
  
  <p><strong>here is the issue: when the play event is fired, the UI freeze a few seconds,</strong> </p>
  
  <p>I believe this is due to fetching a remote resource from <a href="http://123.com/xyz.mp3" rel="nofollow">http://123.com/xyz.mp3</a>, when play a mp3 locally, there is no such issue. </p>
  
  <p>the media api seems do not offer preload kinda function. </p>
  
  <p>when loading the remote url mp3, it is using the same thread as the UI therefore it freeze until the loading task is done.... </p>
  
  <p>does anyone experience the similar problem? how should fix this issue? </p>
  
  <p>Thank you very much for you time :) </p>