-1

I have made an amp-story which, when visited for the first time asks for "You must enable the amp-story experiment to view this content".

This is the link to the story: https://www.krenovate.com/amp/campaign/pets-completed.html

How can I get rid of that prompt?

4

1 回答 1

0

使用 amp-story 的 0.1 版时会出现这种情况。您可以使用 1.0 版解决此问题。版本取决于您在文档中包含的 amp-story 脚本的 URL。对于 1.0,您需要:

<script async custom-element="amp-story" src="https://cdn.ampproject.org/v0/amp-story-1.0.js"></script>
于 2018-11-20T23:07:05.167 回答