Do you build things with AMP? Fill out the new AMP Developer Survey!

Important: this documentation is not applicable to your currently selected format email!



Displays an AirBnB Bodymovin animation player.

Required Scripts

<script async custom-element="amp-bodymovin-animation" src=""></script>

The <amp-bodymovin-animation> component embeds an AirBnB Bodymovin animation player, which renders an animation from JSON generated by Adobe After Effects.


The width and height attributes determine the aspect ratio of the animation embedded in responsive layouts.




src The path to the exported Bodymovin animation object. Must be https protocol.
loop (optional) Indicates whether the animation should be looping or not. By default, this attribute is set to true. Values for this attribute can be: true, false, or a number value. If a number is specified, the animation loops that number of times.
noautoplay (optional) By default, an animation autoplays. If this attribute is added the video waits for an action to start playing.
renderer (optional) By default, this component uses the SVG renderer, this uses a light version of the Bodymovin animation player. However, if developers feel that they need the full player and want to use an HTML renderer they may do so by specifying the renderer attribute to be html.
This attribute only accepts the values html and svg.
common attributes This element includes common attributes extended to AMP components.


Please see AMP Action Documentation for the actions available on amp-bodymovin-animation component.


See amp-bodymovin-animation rules in the AMP validator specification.

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

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

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

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

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