-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
Background
amp-story will be an extension to AMP that enables a new format for visual storytelling.
Proposal
Each separate "page" of the experience can be marked up with a separate DOM node (<amp-story-page>). Pages, by default, can be traversed in DOM order; that is, the first page appearing in the DOM is the first page shown to the user, the second page in the DOM is shown next, etc. Eeach page can be constructed of multiple layers (also explicitly marked up), where layers are stacked back-to-front (the first layer in DOM order is at the back, the second layer is on top of that, etc.) From there, layers are simply populated with HTML elements: images, videos, text, AMP elements, etc.
This gives a basic framework from where we can construct these visual stories. We can additionally add features on top of this basic structure for more advanced features: analytics, animations, sharing, immersive experiences, and so on.
More details in the preliminary amp-story spec
