1

I am working on videogular2 api to play the videos in my application. I see there is a poster plugin for videogular. But I didn't find it for videogular2. Can someone please point me in the right direction if you have came across this.

2 Answers2

3

There is poster attribute for video tag which you just set with path to image. An example:

<video #media [vgMedia]="media" [src]="video.src" id="modalPlayer" 
    "preload="auto" [poster]="video.poster">
</video>
rdn92
  • 49
  • 4
  • There is a poster plugin for videoagular 1 that auto generates a poster image. I believe this is what @murail101002 is looking for (and how I ended up on this thread as well.) – marty331 Jun 04 '18 at 14:10
0

For every people like me who was searching a vg-poster tag and didn't want to work with the post attribute.

Raphaël Balet
  • 6,334
  • 6
  • 41
  • 78