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.


2018 © PlayerJS

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

Restore password

Restore
Forgot email? Contact us