Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • I am unsure of your links :^) Commented Mar 26 at 20:34
  • @Foxhunt sorry plz try now Commented Mar 26 at 20:37
  • 1
    Ok it seems to works, though it does not fire ready unless the player has actually started, which is not really what i would like : stackblitz.com/edit/angular-tly1p6bn I suppose I can auto play and stop immediatly Commented Mar 26 at 21:01
  • 1
    @Foxhunt just check once if the latest version has the same issue, I think the player gets provisioned only when the play button is pressed, nice workaround, I didn't think about inheritance. Commented Mar 26 at 21:06
  • If you're fine using 3rd party libraries, you can try this one - demo Commented Aug 4 at 10:26