question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AMP Video - Failed to load resource: net::ERR_CONNECTION_FAILED

See original GitHub issue

This simple amp code for rendering a video is giving two failed to load error messages and a third error message which is /null ( www.mydomain.com) Failed to load resource: the server responded with a status of 404 (Not Found)

<amp-video controls width="1920" height="1080" layout="responsive" title="Bla bla"><source src="/assets/files/cpf.webm" type="video/webm" /><source src="/assets/files/cpf.mp4" type="video/mp4" /><div fallback><p>Your browser cannot show this video.</p></div><div placeholder="" class="placeholder"> <div class="spinner"> <em></em> <em></em> <em></em> </div> </div> </amp-video>

Page runs fine and is fast on several devices where it has been tested.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
Frenchomaticcommented, Nov 3, 2020

Sorry - I see why . A poster image needs to be put into the code and then these errors go away. In other words

<amp-video controls width=“1920” height=“1080” layout=“responsive” title=“Bla bla” poster="some-image.jpg>

Please close if there is nothing more to add.

0reactions
patrickhulcecommented, Apr 26, 2021

This appears to be resolved on PSI side, if it starts happening again, please feel free to reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML5 Video - Failed to load resource error after it starts ...
Is the server capable of delivering the total bit-rate required (sum of the video bit-rates + overhead) which must be continuously at this...
Read more >
Documentation: <amp-video> - amp.dev
The amp-video component loads the video resource specified by its src attribute lazily, at a time determined by the runtime. You can control...
Read more >
New Google AMP Video Error Notifications
The error reads: Google systems have detected AMP pages on your site that are missing videos contained in their corresponding canonical pages.
Read more >
4 Ways to Fix the “Failed to Load Resource: net - YouTube
Most people are used to the occasional computer glitch, but if you're facing off against this error, this guide is here to help ......
Read more >
Everything Digital Advertisers Must Know About AMP ...
In the example below, the error message reads “Cannot play animated images on this ... The amp-video component loads the video resource specified...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found