Adding the Plugin to Your Web Page
A dedicated Web Adapter in our cloud or got the adapter deployed on-premise. The adapter's URL is needed for adding the plugin.
To embed the plugin in your page, add a reference to the file with styles (
ozliveness.css
) and the primary script of the plugin (plugin_liveness.php
) that you received from Oz Forensics to the HTML code of the page. web-sdk-root-url
is the Web Adapter link you've received from us.<link rel="stylesheet" href="https://web-sdk-root-url/plugin/ozliveness.css" />
<script src="https://web-sdk-root-url/plugin_liveness.php"></script>
For Angular and Vue, files and script are to be added in the same way. For React apps, use
head
at your template's main page to load and initialize the OzLiveness plugin. Please note: if you use <React.StrictMode>
, you may experience issues with Web Liveness.Last modified 8d ago