Gauravdarkslayer / ngx-stories

An Angular component to render instagram like stories.
https://ngx-stories.vercel.app
MIT License
17 stars 13 forks source link

🐛 [BUG] - Navigating from keyboard bindings doesn't stops current video playing #52

Open Gauravdarkslayer opened 3 weeks ago

Gauravdarkslayer commented 3 weeks ago

Description

While navigating from buttons by clicking on them perfectly stops the current video and plays the next one if next is a video. But with keyboard navigations (left and right arrow) the current video keeps playing in background even after navigating to a new story.

Reproduction URL

https://github.com/Gauravdarkslayer/ngx-stories

Reproduction steps

1. Play a video story
2. Navigate from keyboard's right arrow key
3. A video will play with audio
4. Navigate again with right arrow key, here you'll notice that previous video is keep playing in the background.

Screenshots

No response

Logs

No response

Browsers

Chrome

OS

Windows, Linux, Mac

github-actions[bot] commented 3 weeks ago

Hey @Gauravdarkslayer, Thanks for contributing and Congrats on opening Issue :tada:

We will try to review as soon as possible and a maintainer will get back to you soon!