-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amp-story-player not found in amp-module #256
Comments
Thanks for the reply. So, I updated the tags.js file inside lib and added the webstory in my non AMP page as shown: |
This works in an AMP page, for a non AMP page you have to include a js and css: <script async src="https://cdn.ampproject.org/amp-story-player-v0.js"></script>https://github.com/ampproject/amphtml/blob/main/spec/amp-story-player.md |
I'm trying to embed Webstories in a non AMP page. I tried using the mode
amp: 'hybrid'
in my non AMP page but couldn't embed the story in the non AMP page. On further reading the AMP docs, I realized that Web Stories rely on the AMP Story Player, in the form of the element, to embed and play stories on non-AMP sites https://amp.dev/documentation/guides-and-tutorials/integrate/embed-stories-nonamp/?format=storiesI tried the code using as shown in AMP doc, it's working fine then, but not loading on the initial page load even with
<client-only>
.Is there any way to fix the issue.
The text was updated successfully, but these errors were encountered: