Embedding the UI Into Another Website#
Once the UI is deployed, it can be embedded into another website as an iframe. The same UI deployment can either be run standalone or as an iframe.
This is done by adding the following code snippet to the HTML of your website:
<iframe src="<Tokkio UI deployment URL>" title="Tokkio UI">
When adding the iframe to your website, ensure that the aspect ratio between the height and width provided to the iframe roughly matches the dimensions of the avatar video to prevent parts of the avatar’s face from being cropped.
More information on iframes can be found here.