phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.37k stars 1.43k forks source link

In TS video format, setting the initial poster does not work #284

Open wsldiy opened 5 years ago

df257 commented 5 months ago

me to

phoboslab commented 5 months ago

The poster image only works with the JSMpeg.VideoElement, i.e. with

<div class="jsmpeg" data-url="video.ts" data-poster="poster.jpg"></div>

It has no effect when you only instantiate the player itself (new JSMpeg.Player(...)).

I will update the README accordingly.