This is a Javascript library. With this tool you can integrate the Webkey real time interface (Webkit) into your HTML page.
Load the wkembed.js file into your HTML page and define a div container with unique id for the integration.
<div id="wk-container"></div>
...
<script>
app = new WKEmbedUI({
publicid:'[DEVICE-ID]',
raToken: '[REMOTE-ADMIN-TOKEN-UUID]',
container: 'wk-container'
});
</script>
- device reference: With this parameter you can refer to your device. This parameter could be publicid, serial. You can see this these values on the Dashboard interface.
- remote-admin token: See the Dashboard API documentation for more detailes.
- container id: ID of your DIV container where you would like to load the Webkit.
- extlink=disabled: Disable the links to the Dashboard interface
In the index.html you can see the example.