Description | Displays a Vine simple embed. |
Availability | Stable |
Required Script | <script async custom-element="amp-vine" src="https://cdn.ampproject.org/v0/amp-vine-0.1.js"></script> |
Supported Layouts | fill, fixed, fixed-height, flex-item, nodisplay, responsive |
Examples | Annotated code example for amp-vine |
A Vine simple embed has equal width and height:
<amp-vine width="400" height="400"
data-vineid="MdKjXez002d">
</amp-vine>
data-vineid (required)
The ID of the Vine. In a URL like https://vine.co/v/MdKjXez002d, MdKjXez002d
is the vineID.
common attributes
This element includes common attributes extended to AMP components.
See amp-vine rules in the AMP validator specification.