AmpCarousel 0.2 "attribute 'version' may not appear" #45
Description
Hey,
when passing version "0.2" to AmpCarousel. I get errors from the AMP Validation Service:
The attribute 'version' may not appear in tag 'AMP-CAROUSEL'.
At the same time im passing version "0.1" to an Amp-Carousel [lighbox]
The attribute 'version' may not appear in tag 'AMP-CAROUSEL lightbox'.
<AmpCarousel version="0.2" ... />
Is there a workaround?
At the same Time i want to use amp-carousel 0.2 but amp-lighbox-gallery 0.1
It seems that this is not possible.
When i set version to 0.2 on the normal AmpCarousel, and 0.1 on the AmpCarousel[lighbox]. The ScriptManager injects
<script async="" custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js"></script>
<script async="" custom-element="amp-lightbox-gallery" src="https://cdn.ampproject.org/v0/amp-lightbox-gallery-0.1.js"></script>
If i set AmpCarousel[lighbox] to 0.2 the correct "amp-carousel" script gets injected. But i get the following AMP Validation Error:
The attribute 'src' in tag 'amp-lightbox-gallery extension .js script' is set to the invalid value 'https://cdn.ampproject.org/v0/amp-lightbox-gallery-0.2.js'.