Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation error in Amp Video #161

Open
Zuiev opened this issue Aug 3, 2021 · 0 comments
Open

Validation error in Amp Video #161

Zuiev opened this issue Aug 3, 2021 · 0 comments

Comments

@Zuiev
Copy link

Zuiev commented Aug 3, 2021

Hi,

thanks for this package, it works very well!
I'm getting a validation error that comes from amp video component:

The tag 'amp-video' requires including the 'amp-video' extension JavaScript. (see https://amp.dev/documentation/components/amp-video/)

Apparently amp validator is expecting to get:
<script async custom-element="amp-video" src="https://cdn.ampproject.org/v0/amp-video-0.1.js"></script>

But script below is the one injected in my document <head>
<script async="" custom-element="amp-video" data-script="amp-video" i-amphtml-inserted="" crossorigin="anonymous" src="https://cdn.ampproject.org/rtv/012107170150000/v0/amp-video-0.1.js"></script>

Video works fine, the only issue is referred to validation. Is there anything I can do to fix that?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant