Skip to content

Commit

Permalink
Adds images to the embed 3d world guide and fixes iframe format.
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-salazar committed Aug 8, 2024
1 parent d67b462 commit 3da4bd5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/content/docs/publishing/embed-worlds-into-websites.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Learn to embed the 3D worlds you create in the Studio into a 2D website using an

Embedding a virtual 3D world in your website allows visitors to interact with your virtual environment directly from their browsers. You can achieve this by obtaining an iFrame link from the iR Engine and inserting it into your website's HTML.

![3D world location](../../../assets/images/publishing/embed-worlds-into-websites/3d-world-location.png)

## Step 1: Access your world location

To begin embedding your virtual world, access the URL of your published location. Follow these steps:
Expand All @@ -29,13 +31,14 @@ Inside your world, retrieve the iFrame code from the iR Engine Studio to embed t
<Steps>

1. **Access the share menu:** Click the **Share** button at the bottom center of your screen.
![Share button](../../../assets/images/publishing/embed-worlds-into-websites/share-button.png)
2. **Find the embed code:**
1. Locate the **Embed this Space** field in the **Share** menu.
2. Copy the iFrame code from this field to use it for embedding your virtual experience.

</Steps>

![Share menu options](../../../assets/images/publishing/publish-your-projects/share-menu-embed-option.png)
![Share menu options](../../../assets/images/publishing/embed-worlds-into-websites/share-menu-embed-option.png)

## Step 3: Insert the iFrame code into your website

Expand Down

0 comments on commit 3da4bd5

Please sign in to comment.