AMP Animations

GIF & WebP Files

Embed animations (gif, webp) into your AMP HTML files. Animation files should be loaded via HTTPS.

Basic Usage

A basic embed. The usage of amp-anim is similar to that of amp-img.

an animation

Advanced Usage

You can use amp-img as a placeholder when loading of src file takes time. placeholder attribute must be assigned in the child amp-img in this case.