Inkrypt Videos for developers: Secure video, inyourstack.
Inkrypt Videos gives developers a one-time-password playback API with a dynamic watermark, a JavaScript player API, upload APIs, a WordPress plugin and SDKs for Android, iOS, React Native and Flutter.
Your server asks Inkrypt Videos for a one-time password for each viewer, with the watermark that viewer should see. Your page then loads the player with that password. The API secret key never leaves your server.
01
Create an API secret key
Generate it in the panel under Security & Config. It is shown once, so store it in your back end.
02
Request an OTP from your server
POST /s1/videos/{VIDEO_ID}/otp with Authorization: apikey …, plus the viewer’s identifier and watermark settings.
03
Embed the player with it
Load ink.js and call inkrypt.add() with the Video ID, the OTP and the returned configuration.
Try the watermark settings
Change the values and watch the request and embed code update. These are the fields the OTP request accepts:
configuration.text
Watermark text that appears at random positions on the video.
configuration.alpha
Watermark opacity.
configuration.color
Watermark text colour.
configuration.size
Watermark text size.
configuration.interval
Interval between watermark moves, in milliseconds.
identifier
Your user ID, so Inkrypt Videos can notify you about suspicious behaviour.
Each mobile SDK is a drop-in, DRM-protected player with watermarking, quality selection and chapter navigation. It plays with the same Video ID and OTP as the web player.