Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.97 KB

amp-vine.md

File metadata and controls

60 lines (47 loc) · 1.97 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 amp-vine.html
vine.amp.html

Example

A Vine simple embed has equal width and height:

<amp-vine width="400" height="400"
  data-vineid="MdKjXez002d">
</amp-vine>

Attributes

data-vineid

The ID of the Vine. In a URL like https://vine.co/v/MdKjXez002d MdKjXez002d is the vineID.

Validation

See amp-vine rules in the AMP validator specification.