videogular / videogular2

The HTML5 video player for Angular 2
https://videogular.github.io/videogular2-showroom/#/
MIT License
672 stars 211 forks source link

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

Open uzumakinaruto123 opened 5 years ago

uzumakinaruto123 commented 5 years ago

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

nesmrten commented 4 years ago

I have the same issue, please help

Arashatami commented 3 years ago

I have the same issue, please help