How to show poster


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

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

You can specify several 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).


18.12.22023 © 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