{"id":552,"date":"2023-03-08T12:42:05","date_gmt":"2023-03-08T11:42:05","guid":{"rendered":"https:\/\/decorduemila.it\/?page_id=552"},"modified":"2023-03-08T12:45:34","modified_gmt":"2023-03-08T11:45:34","slug":"3d-virtual-tour","status":"publish","type":"page","link":"https:\/\/decorduemila.it\/index.php\/3d-virtual-tour\/","title":{"rendered":"3D VIRTUAL TOUR"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"552\" class=\"elementor elementor-552\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-792770f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"792770f\" 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-7cbd71e\" data-id=\"7cbd71e\" 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-09df7f8 elementor-widget__width-initial elementor-widget elementor-widget-shortcode\" data-id=\"09df7f8\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-shortcode\"><style>#pano542 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2542\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2542\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano542\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer542\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map542\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"542\"><\/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=\"542\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano542\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":\"-5\",\"default\":{\"firstScene\":\"123\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"123\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/decorduemila.it\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/spherical-360-seamless-panorama-projection-interio-2021-08-26-18-15-26-utc-scaled.webp\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[{\"text\":\"Stanza_2\",\"pitch\":\" -32.46016295057635\",\"yaw\":\" -177.9596477815178\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"456\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"Stanza\",\"pitch\":\" -27.87657201129432\",\"yaw\":\" 76.82399223014096\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"Stanza3\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"456\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/decorduemila.it\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/spherical-360-panorama-projection-interior-of-the-2021-08-26-18-15-26-utc-scaled.webp\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[{\"text\":\"Ritorno\",\"pitch\":\" -15.624001892041168\",\"yaw\":\" -31.75495265105166\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"123\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"Stanza3\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/decorduemila.it\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/interior-of-modern-living-room-with-sofa-3-d-rende-2021-08-30-04-50-34-utc-scaled.webp\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[{\"text\":\"Ritorno\",\"pitch\":\" 5.975351496653968\",\"yaw\":\" -119.61134181979793\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"123\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];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].type === \"info\") {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;} else if(scenehotspot[i].type === \"scene\") {    scenehotspot[i][\"clickHandlerArgs\"] = scenehotspot[i][\"text\"];if(wpvr_public.is_pro_active) {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspotscene;}}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow542 = pannellum.viewer(response[0][\"panoid\"], scenes);var response_duplicate = [{\"panoid\":\"pano542\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":false,\"default\":{\"firstScene\":\"123\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"123\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/decorduemila.it\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/spherical-360-seamless-panorama-projection-interio-2021-08-26-18-15-26-utc-scaled.webp\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[{\"text\":\"Stanza_2\",\"pitch\":\" -32.46016295057635\",\"yaw\":\" -177.9596477815178\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"456\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"Stanza\",\"pitch\":\" -27.87657201129432\",\"yaw\":\" 76.82399223014096\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"Stanza3\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"456\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/decorduemila.it\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/spherical-360-panorama-projection-interior-of-the-2021-08-26-18-15-26-utc-scaled.webp\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[{\"text\":\"Ritorno\",\"pitch\":\" -15.624001892041168\",\"yaw\":\" -31.75495265105166\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"123\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]},\"Stanza3\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/decorduemila.it\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/interior-of-modern-living-room-with-sofa-3-d-rende-2021-08-30-04-50-34-utc-scaled.webp\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[{\"text\":\"Ritorno\",\"pitch\":\" 5.975351496653968\",\"yaw\":\" -119.61134181979793\",\"type\":\"scene\",\"URL\":\"\",\"wpvr_url_open\":\"off\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"\",\"sceneId\":\"123\",\"targetPitch\":0,\"targetYaw\":0,\"hotspot_type\":\"scene\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.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 vr_mode = \"off\";jQuery(\"#pano542 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow542.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow542.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow542.on(\"compasschange\", function (data){\n            console.log(data);\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow542.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano2542 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano542 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2542 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano542 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano542\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls542\").css(\"bottom\", \"55px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls542\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow542.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow542.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow542.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow542.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow542.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}var touchtime = 0;jQuery(document).on(\"click\",\"#explainer_button_542\",function() {\n                jQuery(\"#explainer542\").slideToggle();\n            });\n            jQuery(document).on(\"click\",\".close-explainer-video\",function() {\n                jQuery(this).parent(\".explainer\").hide();\n                var el_src = jQuery(\".vr-iframe\").attr(\"src\");\n                jQuery(\".vr-iframe\").attr(\"src\", el_src);\n              });jQuery(document).on(\"click\",\"#floor_map_button_542\",function() {\n                jQuery(\"#wpvr-floor-map542\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map542\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols542\").hide();\n                      jQuery(\".wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl542\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide542 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols542\",function() {\n\t\t            if (slide542 == \"up\") {\n\t\t              jQuery(\".vrgctrl542\").empty();\n\t\t              jQuery(\".vrgctrl542\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide542 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl542\").empty();\n\t\t              jQuery(\".vrgctrl542\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide542 = \"up\";\n\t\t            }\n                    jQuery(\".wpvr_slider_nav\").slideToggle(); \n\t\t            jQuery(\"#sccontrols542\").slideToggle();\n\t\t          });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).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"542\") {\n                          jQuery(\"#pano542\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano542\").children(\".pnlm-ui\").remove();\n                          panoshow542 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano542\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow542.loadScene(\"123\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano542\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls542\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls542\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano542\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano542\").children(\".pnlm-ui\").remove();\n              panoshow542 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow542.loadScene(\"123\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano542\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls542\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls542\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano542\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano542 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano542 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script><\/div>\n\t\t\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\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":"","meta":{"footnotes":""},"class_list":["post-552","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/pages\/552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/comments?post=552"}],"version-history":[{"count":4,"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/pages\/552\/revisions"}],"predecessor-version":[{"id":556,"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/pages\/552\/revisions\/556"}],"wp:attachment":[{"href":"https:\/\/decorduemila.it\/index.php\/wp-json\/wp\/v2\/media?parent=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}