ACCUEILPRODUITSSERVICESUSAGESACADÉMIENOUS
VR GLOSSARY
Definition

Iframe (Inline Frame)

HTML element that embeds the content of one page inside another

🇫🇷 Lire en français
Iframe (Inline Frame)

Explanation

An iframe (inline frame) is an HTML tag that allows the content of one web page to be embedded inside another page in an independent frame. In immersive contexts, the iframe is the most common way to integrate 360° virtual tours, interactive viewers, and immersive experiences into any existing website, blog, or LMS platform, without modifying the host site's code.

Real-world example

When you see a YouTube video embedded directly in a blog post, it is displayed in a frame in the middle of the page — that frame is an iframe.

Practical applications

  • Embed a 360° virtual tour in a web page with a simple copy-paste iframe code
  • Embed an immersive viewer in an e-commerce product page to show the product in 360°
  • Insert a 360° training module into an LMS via a SCORM or LTI compatible iframe
  • Embed a 360° experience in a marketing email or a promotional landing page

Iframe in an immersive context

Standard iframe integration

  • Embed code provided by the 360° platform (simple copy-paste)
  • Customizable dimensions (width, height, responsive)
  • Content isolation: the virtual tour works independently of the host site
  • Compatible with all browsers and all web platforms

Example: A code <iframe src='https://app.easystory360.com/tour/123' width='100%' height='500'></iframe> that displays a virtual tour in any web page

Technical considerations

  • Security: CORS policies and sandbox attributes to control permissions
  • Performance: lazy loading to avoid slowing down the host page
  • Communication: postMessage API to exchange data between the iframe and the parent page
  • Responsive: automatic adaptation to screen sizes via CSS techniques

Example: An iframe configured with lazy loading that only loads the virtual tour when the user scrolls to that section

VR scenario

A real estate agency wants to embed its EasyStory 360 virtual tours into each property listing on its WordPress site. They copy the iframe code provided by the platform and paste it into the page editor. The 360° tour is displayed in a responsive frame that adapts to all screen sizes. Visitors explore the apartment directly on the page, without being redirected to another site. The entire process takes less than 2 minutes.

Why it matters in professional VR

  • The iframe is the simplest and most universal way to embed 360° content into an existing site
  • It requires no advanced technical skills: a simple copy-paste is enough
  • Iframe isolation ensures the virtual tour works without interfering with the host site
  • The universal compatibility of the iframe makes it the standard for distributing immersive content on the web