Skip to main content

Introduction

System requirements

In order to run the space-viewer, you simply need to have a supported and updated web browser installed. Ultimately, the hardware requirements will largely depend on the scope of your content in the space-viewer. A small space with a small number of assets will clearly require less advanced hardware than an asset-heavy high fidelity space, for example.

Embed viewer

To embed the Space Viewer into other web pages, only an iframe with the appropriate ID is needed.

Simple

<iframe 
src="https://viewer.rooom.com/space/f7ef4851b8"
title="rooom-viewer"
width="640"
height="480"
frameborder="0"
style="border:none;"
allowvr="yes"
allow="vr; xr; accelerometer; magnetometer; gyroscope; autoplay;"
allowfullscreen
mozallowfullscreen="true"
webkitallowfullscreen="true">
</iframe>

Dynamic width/height

With Bootstrap

<div class="embed-responsive embed-responsive-16by9">
<iframe
src="https://viewer.rooom.com/space/f7ef4851b8"
class="embed-responsive-item"
...
>
</iframe>
</div>

Without Bootstrap

<div style="position:relative;display:block;height:0;padding:0;overflow:hidden;padding-bottom:56.25%;">
<iframe
src="https://viewer.rooom.com/space/f7ef4851b8"
style="border:none;position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0;"
...
></iframe>
</div>

Preview image

For the preview image of a viewer, the following URL must be called.

https://viewer.rooom.com/space/[token]/preview

An example:

https://viewer.rooom.com/space/f7ef4851b8/preview

Options

SIZE

The preview image is available in different resolutions and by the option the suitable or next possible resolution can be delivered.

https://viewer.rooom.com/space/[token]/preview?size=256