Find file History
Latest commit e88bd6d Jan 21, 2017 @muxin muxin committed on GitHub Fix amp-hulu test flaky time out (#7135)
Permalink
..
Failed to load latest commit information.
amp-a4a Introduces logic for A4A Multisize implementation. (#6677) Jan 11, 2017
amp-access-laterpay Early implementation of amp-access-laterpay (#5920) Jan 17, 2017
amp-access Validator rollup (#7137) Jan 20, 2017
amp-accordion Validator rollup (#7137) Jan 20, 2017
amp-ad-network-adsense-impl Removes multi-size carveout from Fast Fetch. (#7092) Jan 18, 2017
amp-ad-network-doubleclick-impl Removes multi-size carveout from Fast Fetch. (#7092) Jan 18, 2017
amp-ad-network-fake-impl A4A Envelope for testing (#6698) Dec 15, 2016
amp-ad-network-triplelift-impl Adding a4a support to TripleLift amp-ads (#6884) Jan 12, 2017
amp-ad Validator rollup (#7137) Jan 20, 2017
amp-analytics Validator rollup (#7137) Jan 20, 2017
amp-anim Validator rollup (#7137) Jan 20, 2017
amp-animation Doc cleanup: formatting, grammar, consistency, minor fixes (#6860) Jan 4, 2017
amp-apester-media Validator rollup (#7137) Jan 20, 2017
amp-app-banner Validator rollup (#7137) Jan 20, 2017
amp-audio Validator rollup (#7137) Jan 20, 2017
amp-auto-ads/0.1 Validator rollup (#7137) Jan 20, 2017
amp-bind Validator rollup (#7137) Jan 20, 2017
amp-brid-player Validator rollup (#7137) Jan 20, 2017
amp-brightcove Validator rollup (#7137) Jan 20, 2017
amp-carousel Validator rollup (#7137) Jan 20, 2017
amp-crypto-polyfill/0.1 Moves closure sha384 into a new extension amp-crypto-polyfill for laz… Jan 13, 2017
amp-dailymotion Validator rollup (#7137) Jan 20, 2017
amp-dynamic-css-classes Validator rollup (#7137) Jan 20, 2017
amp-experiment Validator rollup (#7137) Jan 20, 2017
amp-facebook Validator rollup (#7137) Jan 20, 2017
amp-fit-text Validator rollup (#7137) Jan 20, 2017
amp-font Validator rollup (#7137) Jan 20, 2017
amp-form Validator rollup (#7137) Jan 20, 2017
amp-fresh/0.1 Explicitly specify requireAmpResponseSourceOrigin=false if missing (#… Dec 20, 2016
amp-fx-flying-carpet Validator rollup (#7137) Jan 20, 2017
amp-gfycat Validator rollup (#7137) Jan 20, 2017
amp-google-vrview-image custom-element internal classes are switched to i-amphtml- form (#6796) Dec 22, 2016
amp-hulu Fix amp-hulu test flaky time out (#7135) Jan 21, 2017
amp-iframe Validator rollup (#7137) Jan 20, 2017
amp-image-lightbox Validator rollup (#7137) Jan 20, 2017
amp-instagram Validator rollup (#7137) Jan 20, 2017
amp-install-serviceworker Validator rollup (#7137) Jan 20, 2017
amp-jwplayer Validator rollup (#7137) Jan 20, 2017
amp-kaltura-player Validator rollup (#7137) Jan 20, 2017
amp-lightbox-viewer/0.1 Fixed Carousel Arrow SVGs - Added IE11 Compatible Charset for SVGs (#… Jan 9, 2017
amp-lightbox Validator rollup (#7137) Jan 20, 2017
amp-list Validator rollup (#7137) Jan 20, 2017
amp-live-list Validator rollup (#7137) Jan 20, 2017
amp-mustache Validator rollup (#7137) Jan 20, 2017
amp-o2-player Validator rollup (#7137) Jan 20, 2017
amp-ooyala-player Validator rollup (#7137) Jan 20, 2017
amp-pinterest Validator rollup (#7137) Jan 20, 2017
amp-playbuzz Validator rollup (#7137) Jan 20, 2017
amp-reach-player Validator rollup (#7137) Jan 20, 2017
amp-reddit Validator rollup (#7137) Jan 20, 2017
amp-selector Validator rollup (#7137) Jan 20, 2017
amp-share-tracking Default requireAmpResponseSourceOrigin to true. (#6744) Jan 9, 2017
amp-sidebar Validator rollup (#7137) Jan 20, 2017
amp-slides Validator rollup (#7137) Jan 20, 2017
amp-social-share Validator rollup (#7137) Jan 20, 2017
amp-soundcloud Validator rollup (#7137) Jan 20, 2017
amp-springboard-player Validator rollup (#7137) Jan 20, 2017
amp-sticky-ad Validator rollup (#7137) Jan 20, 2017
amp-tabs skeleton for amp-tabs (#7003) Jan 13, 2017
amp-twitter Validator rollup (#7137) Jan 20, 2017
amp-user-notification Validator rollup (#7137) Jan 20, 2017
amp-video Validator rollup (#7137) Jan 20, 2017
amp-viewer-integration handle unload (#7001) Jan 12, 2017
amp-vimeo Validator rollup (#7137) Jan 20, 2017
amp-vine Validator rollup (#7137) Jan 20, 2017
amp-viz-vega Explicitly specify requireAmpResponseSourceOrigin=false if missing (#… Dec 20, 2016
amp-youtube Validator rollup (#7137) Jan 20, 2017
README.md amp-ooyala (#6466) Dec 13, 2016

README.md

AMP HTML Extensions

AMP Extensions are either extended components or extended templates.

AMP HTML Extended Components

Extended components must be explicitly included into the document as custom elements.

For example, to include a YouTube video in your page include the following script in the <head>:

<script async custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script>

Current list of extended components by category:

Access

Component Description
amp-access Provides AMP paywall and subscription support.

Ads

Component Description
amp-ad Container to display an ad.
amp-embed An alias to the amp-ad tag.

Analytics

Component Description
amp-analytics Captures analytics data from an AMP document.
amp-experiment Conducts user experience experiments on an AMP document.

Audio/Video

Component Description
amp-audio Replaces the HTML5 audio tag.
amp-o2-player Displays a AOL O2Player.
amp-brid-player Displays a Brid.tv player.
amp-brightcove Displays a Brightcove Video Cloud or Perform player.
amp-dailymotion Displays a Dailymotion video.
amp-gfycat Displays a Gfycat video GIF.
amp-jwplayer Displays a cloud-hosted JW Player.
amp-kaltura-player Displays the Kaltura Player as used in Kaltura's Video Platform.
amp-ooyala-player Displays an Ooyala player.
amp-reach-player Displays a Beachfront Reach video player.
amp-soundcloud Displays a Soundcloud clip.
amp-springboard-player Displays a Springboard Platform video player
amp-vimeo Displays a Vimeo video.
amp-vine Displays a Vine simple embed.
amp-youtube Displays a YouTube video.

Dynamic lists

Component Description
amp-list Dynamically downloads data and creates list items using a template.
amp-live-list Provides a way to display and update content live.

Forms

Component Description
amp-form Provides form support.

Frames

Component Description
amp-iframe Displays an iframe.

Presentation

Component Description
amp-accordion Provides a way for viewers to have a glance at the outline of the content and jump to a section of their choice at will.
amp-anim Manages an animated image, typically a GIF.
amp-carousel Displays multiple similar pieces of content along a horizontal axis.
amp-dynamic-css-classes Adds several dynamic CSS class names onto the HTML element.
amp-fit-text Expands or shrinks font size to fit the content within the space given.
amp-font Triggers and monitors the loading of custom fonts.
amp-fx-flying-carpet Wraps its children in a unique full-screen scrolling container allowing you to display a full-screen ad without taking up the entire viewport.
amp-image-lightbox Allows for an “image lightbox” or similar experience.
amp-lightbox Allows for a “lightbox” or similar experience.
amp-mustache Allows rendering of Mustache.js templates.
amp-sidebar Provides a way to display meta content intended for temporary access such as navigation, links, buttons, menus.
amp-sticky-ad Provides a way to display and stick ad content at the bottom of the page.
amp-user-notification Displays a dismissable notification to the user.

Scripts

Component Description
amp-install-serviceworker Installs a ServiceWorker.

Social

Component Description
amp-facebook Displays a Facebook post or video.
amp-gfycat Displays a Gfycat video GIF.
amp-instagram Displays an Instagram embed.
amp-pinterest Displays a Pinterest widget or Pin It button.
amp-reddit Displays a Reddit post or comment.
amp-social-share Displays a social share button.
amp-twitter Displays a Twitter tweet.
amp-vine Displays a Vine simple embed.

AMP HTML Extended Templates

See the AMP template spec for details about supported templates.