Some test text!

Search
Hamburger Icon

Web / FAQ / Add a video license key

Add video license key

Trial license key required.
The trial of Apryse SDK requires a trial key. A commercial license key is required for use in a production environment. Please fill out our licensing form if you do not have a valid license key.
Keep your license keys confidential.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).

A watermark will be visible when no license key is entered and will be removed when you enter a valid license key.

String option

Pass your license key as a string to the initializeVideoViewer function.

For example if your license key is

key@domain.com///150:191:91:208:107:135:56:7:89:101:211:148:2:202:107...

then you would call:

WebViewer({
  path: '...'
}).then((instance) => {
  const {
      loadVideo,
  } = await initializeVideoViewer(
      instance,
      {
        license: `key@domain.com///150:191:91:208:107:135:56:7:89:101:211:148:2:202:107...`,
      }
  );
})

Please make sure you’re using the entire key string, but with no extra whitespace included (i.e. at the end, which can happen when you copy/paste out of an email or the website)

File option

Alternatively instead of passing a string, one can a pass a file url. The contents of the file should only be the entire license key.

WebViewer({
  path: '...'
}).then((instance) => {
  const {
      loadVideo,
  } = await initializeVideoViewer(
      instance,
      {
        license: `/path/to/license.txt`
      }
  );
})

Get the answers you need: Chat with us