videogular / videogular2

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

playing videos loaded asynchronously does not work. #924

Open jan-sramek opened 1 year ago

jan-sramek commented 1 year ago

Description

Videos are loaded from API. It seems that onPlayerReady is called earlier than videos are loaded and passed. It is used

.getDefaultMedia()
      .subscriptions.loadedMetadata.subscribe(this.initVdo.bind(this));

when initVdo is invoked isCompletedproperty is false.

Video sources are base64.

Is there some solution for this? Is it possible initialize vgplayer manually?

Thank you Jan