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.
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.
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
Screenshots
No response
Logs
No response
Browsers
Chrome
OS
Windows, Linux, Mac