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

Loading the virtual tour in a modal window.

View the virtual tour

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-tour-loader" postid="101" showIFrame="false" showGadget="false">View the virtual tour</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>

Loading the virtual tour in a modal window using the widget.

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-tour-loader" postid="101" showIFrame="false" showGadget="true" buttonColor="gray" showIcon="true" text="View the virtual tour" style="width:250px; text-align:center;"></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>

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);