amp-vine
Description
Displays a Vine simple embed.
Required Scripts
<script async custom-element="amp-vine" src="https://cdn.ampproject.org/v0/amp-vine-0.1.js"></script>
Supported Layouts
Example
A Vine simple embed has equal width and height:
<amp-vine width="400" height="400" data-vineid="MdKjXez002d"> </amp-vine>
Attributes
data-vineid (required) | The ID of the Vine. In a URL like https://vine.co/v/MdKjXez002d, MdKjXez002d is the vineID. |
common attributes | See amp-vine rules in the AMP validator specification. |
Validation
See amp-vine rules in the AMP validator specification.
Vous avez lu ce document une douzaine de fois mais il ne répond pas à toutes vos questions ? D'autres personnes ont peut-être eu le même sentiment. Contactez-les sur Stack Overflow.
Se rendre sur Stack Overflow Vous avez trouvé un bug ou une fonctionnalité manquante ?The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.
Se rendre sur GitHub