AMP Instagram

Instagram Posts and Videos

Embed instagram videos and photos into your AMP HTML files.

Basic Usage

Instagram photos are embedded via the instagram data-shortcode, which is found in every instagram photo URL. Many instagrams are square. When you set layout="responsive" any value where width and height are the same will work.

Non-Square Images

If the image is not square, width and height should be the actual width and height of the instagram image.