Easily embed multiple 360 photos in a web page using aframevr
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
LICENSE
README.md
embed360.js

README.md

embed360

Easily embed multiple 360° photos into your webpages using the power and simplicity of A-frame.

Step 1: Include the embed360.js script.

<script src="path/to/embed360.js"></script>

Step 2: Add each 360 photo as HTML. Each one should have a container element and an image element as seen below.

<div class="embed360">
  <img src="/path/to/image.jpg">
</div>

Step 3: Call the embed360() function, passing in a selector for your container element(s)

embed360('.embed360');

See examples and documentation at https://leemark.github.io/embed360/.