amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Initially activate any Web Story in amp-story-player

Open saurabh230197 opened this issue 6 years ago • 1 comments

Suppose I have 3 Web Stories to embed in a web page and I want multiple Web Stories in a single viewer. I will use

<amp-story-player style="width: 360px; height: 600px;"> <a href="https://www.example.com/story1.html" style="--story-player-poster: url('https://www.example.com/assets/cover1.html');"> Story 1. </a> <a href="https://www.example.com/story2.html" style="--story-player-poster: url('https://www.example.com/assets/cover2.html');"> Story 2 **Want to activate this story initially** </a> <a href="https://www.example.com/story3.html" style="--story-player-poster: url('https://www.example.com/assets/cover3.html');"> Story 3 </a> </amp-story-player>

but initially this activates Story 1 when amp-story-player renders on page.

There should be a way to activate any web story.

Like open story 2 when player renders then user will swipe to left/right if want to see Story 1/Story 3

Thanks

saurabh230197 avatar Jun 26 '20 06:06 saurabh230197

Any update on this?

saurabh230197 avatar Jul 29 '20 13:07 saurabh230197