Skip to content

Latest commit

 

History

History
64 lines (49 loc) · 2.05 KB

amp-vine.md

File metadata and controls

64 lines (49 loc) · 2.05 KB

amp-vine

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

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

This element includes common attributes extended to AMP components.

Validation

See amp-vine rules in the AMP validator specification.