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="camera geolocation"  
  :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="camera geolocation"


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"


Safari not working?

We've seen issues with browsers blocking third-party cookies, which our embedded mode relies on. We are working on a solution within Engineering at this point, but in the meantime we recommend two options:

  1. We add a CNAME that creates a new hostname you can add on your end. You must redirect to this host in order for the embed to work.
  2. Double-level subdomain - you issue a subdomain for us that allows us to render WorkBright within a host of yours.