Screenshots


You can make a screenshot of the video via Javascript API with two conditions:
  1. Cross-domain policy allows this (CORS must be configured on the server that distributes the video).
  2. This is video on demand (mp4, ogg, webm), HLS or DASH.

Screenshot taken by the command screenshot

player.api("screenshot");
If possible, the player will return the picture in the format in base64 format (data:image/jpeg). If the screenshot is not impossible, will be returned false. You also can create a custom element in the toolbar, which will create a screenshot. Just specify in the Action field the command api:screenshot




The Art of Players
2018 © PlayerJS with ♥

Login

Restore password
Sign up
Log in

Sign up free

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

Order player

Your name
What project do you need a player for?
Email
Phone
Description
Send
You agree to processing of this personal data.

Restore password

Restore
Forgot email? Contact us