amp-stories

How do I link one amp-story-page to another?

為{幸葍}努か 提交于 2020-08-25 07:03:48
问题 So, I'm currently using AMP (amp-story) to make stories, and I'd like to know how can I put a button that switches from one page to another. E.g. a button that makes you go from page 5 to page 8 instead of page 6. The intention is allow the user to skip some of the content. Does the amp-story allow for hidden pages as well (pages that are not accessible unless you press a button)? Most of the events I tried showed me the " _ is not whitelisted " error on the console. Thanks. 回答1: Currently,

Is it possible to enable by default the sound in amp-story?

你说的曾经没有我的故事 提交于 2020-01-04 04:08:06
问题 didn't find a way to enable by default the sound in an AMP Story. Is it possible ? Thanks 回答1: No, it is not possible to enable audio by default. Browsers often explicitly blacklist this behavior and only allow audio to be enabled after a user gesture, e.g: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/ The global muted state of an amp-story starts off muted; users must always unmute the story for