vrEmbed Quickstart


Using the create tool

Single images

Easily the fastest way to create a vrEmbed is to use the create tool located here: http://vrEmbed.org/create. Simply paste a full path to an image - such as http://vrEmbed.org/src/assets/vrEmbedLogo.png (shown right) into the 'Paste URL' box and hit the 'single image'.

On the next screen, press the 'Load Image' button to see the VR preview of the image. Set up the image as desired in the 'Setup Scene Objects' section of the page; once you are ready, open up the 'Export/Share' section and you'll have many options to create an embed, post to various social media sites or generate a shareable link.


360 images

360 images can easily be turned into a vrEmbed. Paste your 360 image link - for example: http://vrembed.org/src/assets/mission_creek_2.jpg into the 'Paste URL' box on http://vrEmbed.org/create and hit the '360' button. Following the steps in Single Image above, you can create an embed code, send it to social media sites or create a vrEmbed link.


3D images

Left-right 3D images can also be used to create a vrEmbed. Right now it requires that both the left and right images are in the same source picture; usually this means they are arranged next to each other horizontally or vertically. For the example here we'll use a left-right stereo pair: http://vrembed.org/src/assets/anchor_stereo.jpg. As above, paste the link to this into the 'Paste URL' box on http://vrEmbed.org/create and now hit the 'Stereo 3D' button. You can tweak the 3D parameters in the interface to line up where the left and right images actually are in the source image, and from the 'Export/Share' section you can create a vrEmbed link.


Manually creating links and embed codes

More confident users can manually create vrEmbed links and embed codes. Refer to placement for a guide to what parameters can be adjusted. Below are a couple of simple examples.

vrEmbed link

You can take your image URL and pass it directly to vrEmbed to load via a specially formatted link URL:

Creating an embed code

You can also create an embed code to do the same, and use this fragment of HTML code wherever you like to embed the html (barring pages that don't support HTML snippets, such as facebook or twitter). See the result here.
<a class="vrEmbedPhoto" src="http://vrembed.org/src/assets/ferry_building.jpg" isStereo="false" sphereParams="360,180,0,0"></a><script async src="//vrEmbed.org/vrEmbed.min.js" charset="utf-8"></script>
vrEmbed is (c) Bhautik Joshi 2015-16 and available under the Apache 2.0 Open Source license.