amp-library
amp-library copied to clipboard
Include amp-video extension.js
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 you can get an array of required component scripts via $amp->getComponentJs()
, pass it to your template and render required <script>
tags.