ampproject / ampproject/amphtml

Document Story specific viewer features.

Open
#27,828 3 comments 0 reactions 1 assignee Claimed by @gmajoulet View on GitHub
P3: When Possible Stale Type: Feature Request WG: stories
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Over the past few months we've been adding a few Story specific viewer features, that we should document:

- `(get|set|on)DocumentState`
- `education` capability and `canShowScreen` messages
- viewer to document `selectPage` message
- document to viewer `selectDocument` message
- To be considered: how to control the story audio experience in a native viewer that can enable audio to autoplay

They should appear in the [public documentation](https://github.com/ampproject/amphtml/blob/master/extensions/amp-viewer-integration/amp-doc-viewer-api.md), and in the internal version (that is, I think, a copy paste of this one).

cc @ampproject/wg-stories @CrystalOnScript

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.