{"id":1153,"date":"2024-05-24T14:13:28","date_gmt":"2024-05-24T12:13:28","guid":{"rendered":"https:\/\/corsoeuropa11.it\/virtual-tour\/"},"modified":"2024-06-03T09:19:47","modified_gmt":"2024-06-03T07:19:47","slug":"virtual-tour","status":"publish","type":"page","link":"https:\/\/corsoeuropa11.it\/en\/virtual-tour\/","title":{"rendered":"Virtual tour"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1153\" class=\"elementor elementor-1153 elementor-848\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7647534 e-con-full e-flex e-con e-parent\" data-id=\"7647534\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9adda3d elementor-hidden-desktop elementor-hidden-tablet elementor-hidden-mobile elementor-widget elementor-widget-html\" data-id=\"9adda3d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"virtualtour\" style=\"text-align:center\"><iframe src=\"https:\/\/virtual.dils.com\/europa11_en?autoplay=0\" width=\"100%\" height=\"1000px\" scrolling=\"no\" allowfullscreen><\/iframe><\/div><style>.virtualtour iframe{\n    height: 90vh;\n}\n<\/style>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-72dcf3d elementor-widget elementor-widget-html\" data-id=\"72dcf3d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script>\/\/ Ottieni l'URL corrente\nconst urlParams = new URLSearchParams(window.location.search);\n\n\/\/ Ottieni il valore del parametro 'scene'\nconst scene = urlParams.get('scene');\n\n\/\/ Controlla il valore del parametro 'scene' e scrivi l'HTML appropriato\nif (scene === '1') {\n    document.write('<div class=\"virtualtour\" style=\"text-align:center\"><iframe src=\"https:\/\/virtual.dils.com\/europa11_en?autoplay=0&scene=1\" width=\"100%\" height=\"1000px\" scrolling=\"no\" allowfullscreen><\/iframe><\/div>');\n} else if (scene === '2') {\n    document.write('<div class=\"virtualtour\" style=\"text-align:center\"><iframe src=\"https:\/\/virtual.dils.com\/europa11_en?autoplay=0&scene=2\" width=\"100%\" height=\"1000px\" scrolling=\"no\" allowfullscreen><\/iframe><\/div>');\n} else if (scene === '4') {\n    document.write('<div class=\"virtualtour\" style=\"text-align:center\"><iframe src=\"https:\/\/virtual.dils.com\/europa11_en?autoplay=0&scene=4\" width=\"100%\" height=\"1000px\" scrolling=\"no\" allowfullscreen><\/iframe><\/div>');\n}else{\n    document.write('<div class=\"virtualtour\" style=\"text-align:center\"><iframe src=\"https:\/\/virtual.dils.com\/europa11_en?autoplay=0\" width=\"100%\" height=\"1000px\" scrolling=\"no\" allowfullscreen><\/iframe><\/div>');\n}\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-655abeb e-flex e-con-boxed e-con e-parent\" data-id=\"655abeb\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-caf5f58 elementor-widget elementor-widget-video\" data-id=\"caf5f58\" data-element_type=\"widget\" data-settings=\"{&quot;video_type&quot;:&quot;hosted&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.21.0 - 26-05-2024 *\/\n.elementor-widget-video .elementor-widget-container{overflow:hidden;transform:translateZ(0)}.elementor-widget-video .elementor-wrapper{aspect-ratio:var(--video-aspect-ratio)}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{height:100%;width:100%;display:flex;border:none;background-color:#000}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-wrapper{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .elementor-open-inline .elementor-custom-embed-image-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:50%}.elementor-widget-video .elementor-custom-embed-image-overlay{cursor:pointer;text-align:center}.elementor-widget-video .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play i{opacity:1}.elementor-widget-video .elementor-custom-embed-image-overlay img{display:block;width:100%;aspect-ratio:var(--video-aspect-ratio);-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-custom-embed-image-overlay{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-custom-embed-image-overlay img{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .e-hosted-video .elementor-video{-o-object-fit:cover;object-fit:cover}.e-con-inner>.elementor-widget-video,.e-con>.elementor-widget-video{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"e-hosted-video elementor-wrapper elementor-open-inline\">\n\t\t\t\t\t<video class=\"elementor-video\" src=\"https:\/\/public-redilco.s3.eu-south-1.amazonaws.com\/initiatives\/Europa11-01.mp4\" controls=\"\" preload=\"metadata\" controlsList=\"nodownload\"><\/video>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>https:\/\/public-redilco.s3.eu-south-1.amazonaws.com\/initiatives\/Europa11-01.mp4<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1153","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/pages\/1153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/comments?post=1153"}],"version-history":[{"count":13,"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/pages\/1153\/revisions"}],"predecessor-version":[{"id":1272,"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/pages\/1153\/revisions\/1272"}],"wp:attachment":[{"href":"https:\/\/corsoeuropa11.it\/en\/wp-json\/wp\/v2\/media?parent=1153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}