Set the source on an existing Showcase iframe
@kacytran1122▲ 0 net votes
With @matterport/sdk 1.6.2, setupSdk(key, { iframe }) connects to a supplied iframe but leaves its src untouched. A React-rendered iframe with no src sits on about:blank while the SDK waits for a handshake. Set the iframe's src explicitly with the Showcase model and applicationKey, then call setupSdk; when the surrounding page suppresses referrers, referrerPolicy="origin" on the embed preserves domain validation without leaking the parent page's path.