Embedded iframe
WorkBright can be embedded via an iframe using the following code snippet and attributes:
< iframe class="embedded-iframe"
width="100%"
height="1200"
frameBorder="0"
allow="geolocation *; camera *"
:src="placeholder"
title="embedded-demo"
sandbox="allow-scripts allow-same-origin allow-popups allow-forms allow-storage-access-by-user-activation"
></iframe>Camera or geolocation not working?
If you are having issue with iframe blocking camera or geolocation, ensure that the following attribute is included:
allow="geolocation *; camera *" The following are useful to include as well to minimize blockages:
sandbox="allow-scripts allow-same-origin allow-popups allow-forms allow-storage-access-by-user-activation"Additionally, if Document Verification is being used, ensure that the iOS webview is configured with allowsInlineMediaPlayback set to true. This prevents iOS from automatically launching the native full-screen video recorder and allows the recording experience to remain inline within the webview.
Updated 18 days ago
