π’Embed into Website or App
Learn how to embed an AR.js experience to your web page.
You can easily embed the AR.js experience generated and hosted through the console to any web page.
The web page can be part of a website or integrated in a mobile app.
Using iframe
In order to embed the AR.js experience, you must declare an iframe
tag and set its source to the address of the hosted experience:
Note that you must allow for camera access to avoid camera permission errors.
Code Example
Here is a full styled HTML page with an embedded AR.js experience:
index.html
Last updated