@8thwall/embed8

Widget to embed AR experiences within your website. No app download required.

Usage no npm install needed!

<script type="module">
  import 8thwallEmbed8 from 'https://cdn.skypack.dev/@8thwall/embed8';
</script>

README

Embed8

This script, when embedded on a page, populates specially crafted links with behaviors to optimize the flow of users to see the AR on their mobile devices. It uses QR codes served from 8th.io/qr/xxxx

The script is served at //cdn.8thwall.com/web/embed8/embed8.js, or can be built from this repository by running

$ npm install
$ npm run build

Developing

Run npm run serve and go to https://localhost:9000 to view testing html showing Embed8 links.

Quick Reference:

  <a class="embed8-link" data-short-name="jini"></a>
  // This script is optimally put in head but otherwise can be in body
  <script src="https://cdn.8thwall.com/web/embed8/embed8.js"></script>