web
Requirements
Integration
- Setup the client token
BanubaClientToken.js
loading...
- Import the required types from the @banuba/webar NPM package
BanubaPlayer.js
loading...
info
See the details about the NPM package in Installation.
- Initialize
Playerand apply theEffect
BanubaPlayer.js
loading...
BanubaPlayer.js
loading...
BanubaPlayer.js
loading...
- Run a local web server from a terminal inside the folder
npx live-server
- Open localhost:8080 and start clicking 🎉 🚀 💅
tip
Follow the instructions of the demo app README.md to get more info.
note
The demo app leverages jsDelivr CDN for ease of getting started, for a real life application please use the @banuba/webar npm package.