Panorama 2
Center arhitekture Slovenije,
14. junij 2022
―
(function ($) {jQuery(document).ready(function() {var response = [{"panoid":"pano4551"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":false,"draggable":false,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"https:\/\/www.centerarhitekture.org\/ca\/wp-content\/uploads\/2022\/06\/P02.jpg","default":{"firstScene":"P02","sceneFadeDuration":""},"scenes":{"P02":{"type":"equirectangular","panorama":"https:\/\/www.centerarhitekture.org\/ca\/wp-content\/uploads\/2022\/06\/P02.jpg","pitch":null,"yaw":null,"hfov":100,"maxHfov":120,"minHfov":50,"vaov":180,"haov":360,"hotSpots":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i
{ window.dispatchEvent(new Event("resize")); }, 200); if (jQuery("#pano4551").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls4551").css("bottom", "80px"); } else { jQuery("#controls4551").css("bottom", "5px"); } });panoshow4551.on("render", function (){ window.dispatchEvent(new Event("resize")); });if (scenes.autoRotate) { panoshow4551.on("load", function (){ setTimeout(function(){ panoshow4551.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); panoshow4551.on("scenechange", function (){ setTimeout(function(){ panoshow4551.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); }var touchtime = 0;jQuery(document).on("click","#explainer_button_4551",function() { jQuery("#explainer4551").slideToggle(function(){ var $explainerVideoId = jQuery("#explainer4551"); var $explainerVideoIframe = $explainerVideoId.find("iframe"); var explainerVideoIframSrc = $explainerVideoIframe.attr("src"); $explainerVideoIframe.attr("src", ""); $explainerVideoIframe.attr("src", explainerVideoIframSrc); }); }); jQuery(document).on("click", ".close-explainer-video", function() { var $explainer = jQuery(this).parent(".expl