Media URL could not be loaded

3,296 views
Skip to first unread message

jaskey@nbb

unread,
Apr 25, 2011, 4:27:38 PM4/25/11
to jPlayer: HTML5 Audio & Video for jQuery
Im getting an "Media URL could not be loaded" error even tho it is
perfectly valid

Any ideas? Is there a limit on the file path length or something?

Thank you

JA


jPlayer 2.0.0 : id='jquery_jplayer_1' : Error!

Media URL could not be loaded.

Check media URL is valid.

Context: http://www.newbelgium.com/files/joyride/audio/909a0bd4-c8fb-412a-9976-31eeb6756390.wav

Here is a full dump of Inspector...

This jPlayer instance is running in your browser where:
jPlayer's html solution is being used and will support: wav
jPlayer's flash solution is not required
The HTML5 is active.

status.formatType = 'wav'
Browser canPlay('audio/wav; codecs="1"')

status.src = 'http://www.newbelgium.com/files/joyride/audio/909a0bd4-
c8fb-412a-9976-31eeb6756390.wav'

status.media = {
wav: http://www.newbelgium.com/files/joyride/audio/909a0bd4-c8fb-412a-9976-31eeb6756390.wav
};

Raw browser test for HTML5 support. Should equal a function if HTML5
is available.
htmlElement.audio.canPlayType = function

This instance is using the constructor options:
$('#jquery_jplayer_1').jPlayer({
swfPath: '/Scripts/jquery-jplayer.2.0.0',
solution: 'html, flash',
supplied: 'wav',
preload: 'metadata',
volume: 0.8,
muted: false,
backgroundColor: '#000000',
cssSelectorAncestor: '#jp_interface_1',
cssSelector: {
videoPlay: '.jp-video-play',
play: '.jp-play',
pause: '.jp-pause',
stop: '.jp-stop',
seekBar: '.jp-seek-bar',
playBar: '.jp-play-bar',
mute: '.jp-mute',
unmute: '.jp-unmute',
volumeBar: '.jp-volume-bar',
volumeBarValue: '.jp-volume-bar-value',
currentTime: '.jp-current-time',
duration: '.jp-duration'
},
errorAlerts: true,
warningAlerts: false
});

Mark Panaghiston

unread,
Apr 25, 2011, 5:00:47 PM4/25/11
to jpl...@googlegroups.com
What browsers are you testing this in?

I hope this is a test case. Wav files are not supported by all HTML5 browsers and the Flash fallback cannot play them. Normally you give MP3/M4A files as the core format and then others to increase xbrowser html5 support.

As to the problem... Not sure right now.

I need to log off though for the evening. I'll take a look again tomorrow moring, hopefully with a littl emore information from you.

Is there a link where I can see the page in action?
Far easier than guessing.

Best regards,
Mark P.

Jess Askey

unread,
Apr 25, 2011, 5:02:20 PM4/25/11
to jpl...@googlegroups.com

Im in FF4 but get the same errors on IE9… Windows 7.

 

I think that the issue might be that my web server is not streaming the audio back in a way that is supported perhaps?

 

Thanks for  your quick response.

 

jess

--
You received this message because you are subscribed to the Google Groups "jPlayer: HTML5 Audio & Video for jQuery" group.
To post to this group, send email to jpl...@googlegroups.com.
To unsubscribe from this group, send email to jplayer+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jplayer?hl=en.

Backslider

unread,
May 30, 2011, 3:36:26 AM5/30/11
to jPlayer: HTML5 Audio & Video for jQuery
This problem is usually with ogg files and the server not using the
correct mime type. It can usually be corrected by putting the
following in your .htaccess file:

AddType audio/ogg ogg



On Apr 25, 4:02 pm, Jess Askey <jas...@newbelgium.com> wrote:
> Im in FF4 but get the same errors on IE9... Windows 7.
>
> I think that the issue might be that my web server is not streaming the audio back in a way that is supported perhaps?
>
> Thanks for  your quick response.
>
> jess
>
> From: jpl...@googlegroups.com [mailto:jpl...@googlegroups.com] On Behalf Of Mark Panaghiston
> Sent: Monday, April 25, 2011 3:01 PM
> To: jpl...@googlegroups.com
> Subject: [jPlayer] Re: Media URL could not be loaded
>
> What browsers are you testing this in?
>
> I hope this is a test case. Wav files are not supported by all HTML5 browsers and the Flash fallback cannot play them. Normally you give MP3/M4A files as the core format and then others to increase xbrowser html5 support.
>
> As to the problem... Not sure right now.
>
> I need to log off though for the evening. I'll take a look again tomorrow moring, hopefully with a littl emore information from you.
>
> Is there a link where I can see the page in action?
> Far easier than guessing.
>
> Best regards,
> Mark P.
> --
> You received this message because you are subscribed to the Google Groups "jPlayer: HTML5 Audio & Video for jQuery" group.
> To post to this group, send email to jpl...@googlegroups.com<mailto:jpl...@googlegroups.com>.
> To unsubscribe from this group, send email to jplayer+u...@googlegroups.com<mailto:jplayer+u...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages