smnbbrv / ngx-plyr

Angular 6+ binding for Plyr video & audio player
https://smnbbrv.github.io/ngx-plyr/
MIT License
100 stars 65 forks source link

Poster is not loaded #30

Open benedict1986 opened 4 years ago

benedict1986 commented 4 years ago

Thank you for such a nice library. When I am using it, i found I could not get the poster loaded.

In this example, https://stackblitz.com/edit/ngx-plyr?file=src%2Fapp%2Fapp.component.ts, I commented out the videoSources in AppComponent, and then add poster = 'https://bitdash-a.akamaihd.net/content/sintel/poster.png'. After that I use poster in HTML page as [plyrPoster]='poster'. Unfortunately, the background of the video is black before playing the video.

Is there anything I miss? Thank you

XuZhaoTong commented 3 years ago

https://stackblitz.com/edit/ngx-plyr-sz8hr6?file=src/app/app.component.ts I tried it, no problem