Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

TIA,

---JC

like image 523
jchwebdev Avatar asked Dec 20 '12 22:12

jchwebdev


2 Answers

Use the following process:

  • Go to the Network tab
  • Enable the Network tab
  • Reload the page
  • Look for requests with 404 response codes
like image 81
Paul Sweatte Avatar answered Nov 10 '22 00:11

Paul Sweatte


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.

like image 1
Bill Avatar answered Nov 10 '22 00:11

Bill