--- $category@: presentation formats: - stories teaser: text: A player for embedding and playing your favorite stories in your own website. --- # `amp-story-player`
![]() |
![]() |
![]() |
| Description | Embed and play stories in a non-AMP website. |
| Required Scripts |
<script async src="https://cdn.ampproject.org/amp-story-player-v0.js"></script>
<link href="https://cdn.ampproject.org/amp-story-player-v0.css" rel='stylesheet' type='text/css'>
|
| Examples |
|
The story attribution displays the entity or publisher's name and logo. When clicked, it will navigate the user to either the entity's URL or the publisher's canonical domain.
To display the attribution on the stories, use the player's `display` and `attribution` options. See the JSON configuration below.
The data will come from the `![]() |
![]() |
![]() |
|
![]() |
|
![]() |
|
![]() |