amp-library icon indicating copy to clipboard operation
amp-library copied to clipboard

Include amp-video extension.js

Open astoctas opened this issue 7 years ago • 1 comments

AMP Validator throws this error: The tag 'amp-video extension .js script' is missing or incorrect, but required by 'amp-video'. This will soon be an error. Debug. Learn more.

Thanks, regards.

astoctas avatar Feb 16 '18 18:02 astoctas

@astoctas you can get an array of required component scripts via $amp->getComponentJs(), pass it to your template and render required <script> tags.

okovpashko avatar Mar 09 '18 12:03 okovpashko