Answer the question
In order to leave comments, you need to log in
Why script with 3D panorama from KeyShotVR doesn't work on the website?
3D panoramas should be placed on the site. The following source code was received from the designer .
There is an html file, pictures and scripts. Apparently they are made in the KeyShotVR program .
If you open the html file in the browser, then everything works, it spins and spins. On the site, I put the following content of the html file in the body: codepen.io/anon/pen/eZNYJv. But nothing is displayed on the site, only the loading window appears briefly and emptiness. Moving this line to head didn't work:
<script type="text/javascript" src="5555_VR.30/files/KeyShotVR.js"></script>
var folderName = "5555_VR.30";
<style type="text/css">
body { -ms-touch-action: none; }
</style>
<body oncontextmenu="return false;">
</body>
//то есть, я не задаю этот параметр на своем сайте для body
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question