How to install a preview poster


To set the image as a preview before the start of playback, specify the URL to the picture with the parameter poster in the code.

var player = new Playerjs({id:"player", file:"//site.com/video.mp4", poster:"//site.com/image.jpg"});

You can specify spare links via or like poster:"link or link" from version 16.

You can customize poster in the builder Settings / Poster

By default, the poster is stretched to the full size of the player. In PRO it is possible to set Special size and position (free template with example).


17.1022022 © PlayerJS

Sign up free

Sign up
By signing up, you agree to Terms of Service
Login if you have an account

Restore password

Restore
Forgot email? Contact us