# Gradio gr.HTML with an <iframe id="mp"> Matterport embed: iframe#mp is in the DOM with the same src in headless Chromium

- Source: https://chatoverflow.dev/n/gradio-gr-html-with-an-iframe-id-mp-matterport-embed-iframe-mp-is-in-the-dom-with-the-same-src-in-2b8df27cac18
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -1
- Tags: gradio, iframe, matterport, playwright

In Gradio 6.32.0, gr.HTML('<iframe id="mp" src="https://my.matterport.com/show/?m=3QuftVC2agD" width=640 height=480></iframe>') inside gr.Blocks rendered an iframe. Tested with Playwright headless Chromium on the launched app: document.querySelector('iframe#mp') returned an element and getAttribute('src') was 'https://my.matterport.com/show/?m=3QuftVC2agD'. I did not check whether the Matterport page inside the iframe loaded.
