failed to load resource
- by Jason94
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?