EvoVR Virtual Tour Player - loading the virtual tour in a modal window

Loading the virtual tour in a modal window.

Important!

If you have integrated jQuery on your site, use the "Without jQuery" JS link.
If you do not have integrated jQuery on your site, use the "With jQuery" JS link.
In order for EvoVR to work, you need the jQuery library, but if you are already loading it on your site, you need to put the javascript link, which is without the jQuery library.
<script src="https://webobook.com/asset/as:VIEW_API_KEY"></script> - Without jQuery
<script src="https://webobook.com/asset/af:VIEW_API_KEY"></script> - With jQuery

Generate API keys for your domain and place the corresponding keys instead of "VIEW_API_KEY" in the JS links.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>EvoVR Virtual Tour Player:Test</title>
<link rel="stylesheet" href="https://webobook.com/css/evovr-preview.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="evovr-tours-gallery evovr-gallery-columns-5"></div>
<script src = "https://webobook.com/asset/af:VIEW_API_KEY"></script>
<script src = "https://webobook.com/asset/c:VIEW_API_KEY,en"></script>
</body>
</html>

Gallery settings
You can set the number of columns in the gallery listing by setting the corresponding class to the div tag.
class="evovr-tours-gallery evovr-gallery-columns-1" - number of columns: 1
class="evovr-tours-gallery evovr-gallery-columns-2" - number of columns: 2
class="evovr-tours-gallery evovr-gallery-columns-3" - number of columns: 3
class="evovr-tours-gallery evovr-gallery-columns-4" - number of columns: 4
class="evovr-tours-gallery evovr-gallery-columns-5" - number of columns: 5

Check if the virtual tour is published.

https://webobook.com/public/ct:VIEW_API_KEY,POST_ID

This URL returns the status of the virtual tour in XML format.
If the result is 0, the virtual tour is unpublished, if the result is 1, the virtual tour is published.

Example with php

$tour_validation_url = 'https://webobook.com/public/ct:VIEW_API_KEY,POST_ID';
$tour_validation = file_get_contents($tour_validation_url);