failed to load resource
Posted
by
Jason94
on Stack Overflow
See other posts from Stack Overflow
or by Jason94
Published on 2010-12-21T13:49:51Z
Indexed on
2010/12/21
13:54 UTC
Read the original article
Hit count: 228
Im trying to set up a simple mp3 player:
<script language="javascript">
$(document).ready(function()
{
$('a.media').media( { width: 300, height: 20 } );
});
</script>
and then
<a class="media" href="piano.mp3">piano</a>
But i get the following error: Failed to load resource
I have followed the tutorial at http://jquery.malsup.com/media/audio.html, and if i click to view source and clikc on piano.mp3 chrome opens up its built in media player and plays the song, so the link and location is correct...
Anyone got a clue?
© Stack Overflow or respective owner