videogular2 icon indicating copy to clipboard operation
videogular2 copied to clipboard

autoplay does not work if app is reloaded while video is playing already

Open uzumakinaruto123 opened this issue 5 years ago • 2 comments

Description

[autoplay]="true" not working as expected. When player is loaded first time on the route, auto play does work. If the page is reloaded while video is still being played then auto play won't work

Expected Behavior

Video player to auto play video every time.

Actual Behavior

Video will auto play for the first time, if app is reloaded on the same route again whle the video is playing then auto play won't work. onPlayerReady is fired every time correctly though

Steps to Reproduce

Tried to reproduce the same on Stackblitz template. auto play is not working even for the first time on Stackblitz. Still the fork is here https://stackblitz.com/edit/angular-videogular-wozeff?file=app/hello.component.ts

uzumakinaruto123 avatar May 23 '19 11:05 uzumakinaruto123

I have the same issue, please help

nesmrten avatar Oct 24 '19 14:10 nesmrten

I have the same issue, please help

Arashatami avatar Jan 02 '21 08:01 Arashatami