AMP

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>

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.

هل تحتاج إلى مزيد من المساعدة؟

لقد قرأت هذا المستند عشرات المرات ولكن ألم يُجِب عن جميع أسئلتك؟ ربما حصل ذات الأمر مع أشخاص آخرين: تواصل معهم على Stack Overflow.

الذهاب إلى Stack Overflow
هل وجدت خطأ أو تفتقد لميزة؟

يشجع مشروع AMP مشاركتك ومساهمتك بشدة! ونأمل أن تكون مشاركًا دائمًا في مجتمعنا مفتوح المصدر، ولكننا نشجع أيضًا المساهمات التي تحدث لمرة واحدة في الأمور التي تتحمس لها.

الانتقال إلى GitHub