jchwebdev
jchwebdev

Reputation: 5460

Firefox Firebug Invalid URI. Load of media resource failed

Getting the following in the Firebug console:

! Invalid URI. Load of media resource failed.

How do I determine what is causing this error? Can't figure out what 'resource' it's talking about.

I don't see anything missing on the page(s) in question.

Upvotes: 13

Views: 15907

Answers (2)

Bill
Bill

Reputation: 21

I found a solution for this - the EXPECTED response if the src is null is to get an error, so the solution for that part is to define a src value. However, even with a valid src, I sometimes get the same error - not always, it depends on something else which I haven't determined, however:

<video controls>
  <source src="http://localhost/video.mp4" type="video/mp4" />
  <source src="http://localhost/video.mp4" type="video/mp4" />
</video>

works consistently for me, when if I only have the source attribute once it fails.

Upvotes: 2

Paul Sweatte
Paul Sweatte

Reputation: 24627

Use the following process:

  • Go to the Network tab
  • Enable the Network tab
  • Reload the page
  • Look for requests with 404 response codes

Upvotes: 6

Related Questions