Is it possible to use content:// as a source for an <audio> element in a WebView
<p>I created a ContentProvider. It exports files within my assets/ directory. I'm using content:// urls to access the exported content in a WebView. </p>

<p>The following HTML works as expected:</p>

<pre><code>&lt;img src="content://&lt;provider-name&gt;/test.jpg"&gt;
</code></pre>

<p>I'm trying to use the content provider for mp3 audio files:</p>

<pre><code>&lt;div id='player'&gt;&lt;/div&gt;
&lt;script&gt;
  url = "content://&lt;provider-name&gt;/test.mp3";
  var audio = document.createElement('audio');
  audio.src = url;
  audio.controls = "controls";
  document.getElementById("player").appendChild(audio);
&lt;/script&gt;
</code></pre>

<p>I'm getting the following error message.</p>

<pre><code>E/MediaPlayer(24120): Unable to to create media player
E/HTML5Audio(24120): couldn't load the resource: content://.../test.mp3 exc: java.io.IOException: setDataSource failed.: status=0x80000000
</code></pre>

<p>I tried the Android SDK 8 and 10 without success. I'm not seeing any access to my ContentProvider in the log. It looks like accessing content from audio-tags is not possible within a WebView. It seems strange, since the following code works as expected:</p>

<pre><code>MediaPlayer player = MediaPlayer.create(this, 
    Uri.parse("content://&lt;provider-name&gt;/test.mp3")
);
player.start();
</code></pre>

<p>How can I play audio files from a ContentProvider within a WebView?</p>
