{"id":29,"date":"2021-02-11T08:16:13","date_gmt":"2021-02-11T08:16:13","guid":{"rendered":"http:\/\/corporateidentity.fi\/temp\/?page_id=29"},"modified":"2021-02-11T08:59:55","modified_gmt":"2021-02-11T08:59:55","slug":"vr","status":"publish","type":"page","link":"https:\/\/corporateidentity.fi\/temp\/","title":{"rendered":"VR"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"29\" class=\"elementor elementor-29\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8b138d2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8b138d2\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-10c4d24\" data-id=\"10c4d24\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-80b0a23 elementor-widget elementor-widget-Wpvr-widget\" data-id=\"80b0a23\" data-element_type=\"widget\" data-widget_type=\"Wpvr-widget.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>#pano26 div.pnlm-hotspot-base.fas,\n\t\t\t\t\t#pano26 div.pnlm-hotspot-base.fab,\n\t\t\t\t\t#pano26 div.pnlm-hotspot-base.fa,\n\t\t\t\t\t#pano26 div.pnlm-hotspot-base.far {\n\t\t\t\t\t    display: block !important;\n\t\t\t\t\t    background-color: #00b4ff;\n\t\t\t\t\t    color: #fff;\n\t\t\t\t\t    border-radius: 100%;\n\t\t\t\t\t    width: 30px;\n\t\t\t\t\t    height: 30px;\n\t\t\t\t\t    animation: icon-pulsepano26 1.5s infinite cubic-bezier(.25, 0, 0, 1);\n\t\t\t\t\t}@-webkit-keyframes icon-pulsepano26 {\n\t\t\t\t\t    0% {\n\t\t\t\t\t        box-shadow: 0 0 0 0px rgba(0, 180, 255, 1);\n\t\t\t\t\t    }\n\t\t\t\t\t    100% {\n\t\t\t\t\t        box-shadow: 0 0 0 10px rgba(0, 180, 255, 0);\n\t\t\t\t\t    }\n\t\t\t\t\t}\n\t\t\t\t\t@keyframes icon-pulsepano26 {\n\t\t\t\t\t    0% {\n\t\t\t\t\t        box-shadow: 0 0 0 0px rgba(0, 180, 255, 1);\n\t\t\t\t\t    }\n\t\t\t\t\t    100% {\n\t\t\t\t\t        box-shadow: 0 0 0 10px rgba(0, 180, 255, 0);\n\t\t\t\t\t    }\n\t\t\t\t\t}#pano26 div.pnlm-orientation-button {\n                    display: none;\n                }<\/style><div id=\"pano26\" class=\"pano-wrap\" style=\" text-align:center; max-width:100%; width: 900; height: 600px; margin: 0 auto; border-radius:0px; direction:ltr;\"><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"26\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"26\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><script>jQuery(document).ready(function() {var response = [{\"panoid\":\"pano26\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"http:\\\/\\\/corporateidentity.fi\\\/temp\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/viko-2.jpg\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"1\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"1\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/corporateidentity.fi\\\/temp\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/viko-2.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 < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow26 = pannellum.viewer(response[0][\"panoid\"], scenes);panoshow26.on(\"load\", function (){\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano26\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls26\").css(\"bottom\", \"55px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls26\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow26.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });\n\t\t\t\t\tif (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow26.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow26.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow26.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow26.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tvar touchtime = 0;\n\t\t          jQuery(document).ready(function($){\n\t\t            jQuery(\"#sccontrols26\").hide();\n\t\t              jQuery(\".vrgctrl26\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });\n\t\t          \n\t\t          var slide26 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols26\",function() {\n\n\t\t            if (slide26 == \"up\") {\n\t\t              jQuery(\".vrgctrl26\").empty();\n\t\t              jQuery(\".vrgctrl26\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide26 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl26\").empty();\n\t\t              jQuery(\".vrgctrl26\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide26 = \"up\";\n\t\t            }\n\t\t            jQuery(\"#sccontrols26\").slideToggle();\n\t\t          });\n\t\t          \n            jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).children(\"div\").removeClass(\"awwww\");\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"26\") {\n                          jQuery(\"#pano26\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano26\").children(\".pnlm-ui\").remove();\n                          panoshow26 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          setTimeout(function() {\n                                  panoshow26.loadScene(\"1\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano26\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls26\").css(\"bottom\", \"55px\");\n                                   }\n                                   else {\n                                     jQuery(\"#controls26\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });\n        \n            jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano26\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano26\").children(\".pnlm-ui\").remove();\n              panoshow26 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow26.loadScene(\"1\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano26\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls26\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls26\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n        });<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":[],"_links":{"self":[{"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/pages\/29"}],"collection":[{"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":41,"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/pages\/29\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/pages\/29\/revisions\/85"}],"wp:attachment":[{"href":"https:\/\/corporateidentity.fi\/temp\/wp-json\/wp\/v2\/media?parent=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}