@8thwall/embed8

1.2.0 • Public • Published

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>

Package Sidebar

Install

npm i @8thwall/embed8

Weekly Downloads

5

Version

1.2.0

License

MIT

Unpacked Size

57.2 kB

Total Files

4

Last publish

Collaborators

  • dat-8thwall
  • atomarch
  • cmbartschat8
  • waynehsu64