Integrate Anywhere
Great that you have come this far.
Congratulations on deploying your metaverse. Now, it's time to share it with your fans.
Follow the steps below to integrate your metaverse into your website.
Add the below script inside the
head
tag of your html
Create a
div
element where you would like to place your metaverse and have itid
as yomBase. Add a custom attribute called metaspaceurl with the url of the space as it's value. You can get the url via the Bridge app under the info section of your space.
Inside the yomBase div element create another
div
element withid
yomContainer. This div would be used to stream your metaverse
To enter the metaverse user needs to enter their name, for this you need to create a form with input text and a button. Here is an example. Feel free to modify this as per your requirement/theme. Please note that the
id
of theform
needs to be authContent and guestButton for the submit button
Overall, the complete code should look like above.
Once the user clicks the "enter now" button, your metaverse would be loaded! Try it out. That's it! You are good to go!
If any questions/issues, feel free to reach out to our team @ support@yom.ooo
Last updated