Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

171
Views
Matterport SDK in VR browser?

Currently the Matterport SDK works in regular browsers like this:

<iframe id="showcase" width="740" height="480" src="/bundle/showcase.html?m=[MODEL_SID]" frameborder=”0” allowfullscreen allow="vr"'></iframe>

const showcase = document.getElementById('showcase');
showcase.addEventListener('load', async function() {
let sdk;
try {
    sdk = await showcase.contentWindow.MP_SDK.connect(showcase, '{YOUR SDK KEY}');
}
catch(e) {
    console.error(e);
    return;
}

console.log('Hello Bundle SDK', sdk);
});

https://matterport.github.io/showcase-sdk/sdkbundle_home.html

However this doesn't seem to work in VR browsers such as the Oculus browser within Quest 2.

Expected results:
- Open page and see model in embedded iframe
- Navigate inside model normally and all SDK functions working
Actual results:
- Open page and see model in embedded iframe (but with large play button overlay)
- On click play overlay page breaks out of iframe into new page and displays in 360 mode
- SDK functions no longer work since URL is no longer our site

My question is, how can I use the Matterport SDK within VR browsers or prevent it from breaking out of iframe?

You can try embedding this link inside an iframe and then opening inside a VR browser to see this happening:

https://my.matterport.com/show/?m=HCtwtEENp4t

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!