Embeding a <camera>Below are instructions on how to embed your Camera into a webpage.
Embedding with HTML (static)?
Embeding with JS (dynamic)?
Embedding a <camera> with HTML
First, make sure you have the cameratag.js and cameratag.css files included in the header of your site. The following <script> tag should appear at the bottom of your page's <head> tag
<camera id='[INSTANCE_ID]' data-app-id='[YOUR_APP_UUID]'></camera>
You will replace [YOUR_APP_UUID] with the UUID of the App you would like to use with this <camera>. This can be found under the name of your App on any of the App pages on CameraTag.
You will replace [INSTANCE_ID] with a unique id for that instance of the <camera>. This will allow you specifically refernce that <camera> on the page.
Pleas note: Each camera on a page MUST HAVE A UNIQUE INSTANCE ID however multiple cameras on a page may be attached to the same App.
Dynamically adding a <camera> to the DOM?If you want to embed at a camera after the page has loaded simply add the <camera> element to the DOM as described above then call