We provide SDKs for the following mobile app development methods:
|Android Native SDK||Full support ✅|
|iOS Native SDK||Full support ✅|
|React Native SDK||Only support Android with all features|
|Flutter SDK||Android and iOS supported for online playback|
Backend required for highest security
Playing vdocipher hosted videos requires three parameters to authenticate every playback session. From the backend, get the following information. The backend application will use this API to generate these values.
You must not call this API from your mobile application. It will result in your secret key getting compromised. Consider the secret key like a password to your account.
Why not load video with just the video-id?
General video streaming platforms like Youtube provides a URL/ID which can be used for playback. This means that anybody who has access to this URL is able to play the video. With dynamic authorization, you are able to generate short-lived tokens restricted to only those who have priviledge to watch the video.
can I test without back-end?
If you are just testing the project, you can choose to generate a short-lived tokens from the "Embed" > "Quick Embed" section from your vdocipher dashboard. Extract the OTP and playbackInfo values from the generated script and use them in your SDK.
Webview is not supported for secure DRM vdocipher playback.
You might find webview working on some modern devices, but the support and behaviour is dependent on OS version and also other system components. Hence, we only support native integration through our provided SDKs.
What is webview?