{"id":67989,"date":"2026-02-17T23:26:56","date_gmt":"2026-02-17T23:26:56","guid":{"rendered":"https:\/\/greeceinvests.com\/?page_id=67989"},"modified":"2026-02-17T23:28:08","modified_gmt":"2026-02-17T23:28:08","slug":"intro-video","status":"publish","type":"page","link":"https:\/\/greeceinvests.com\/en\/intro-video\/","title":{"rendered":"intro-video"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"67989\" class=\"elementor elementor-67989\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-eb5e3d1 elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"eb5e3d1\" 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-8b4fa3d\" data-id=\"8b4fa3d\" 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-2dd5138 elementor-widget elementor-widget-html\" data-id=\"2dd5138\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\n  html, body { \n    margin: 0 !important; \n    padding: 0 !important; \n    width: 100vw !important; \n    height: 100vh !important; \n    overflow: hidden !important; \n    background-color: #000 !important; \n  }\n  .video-container { \n    position: fixed !important; \n    top: 0 !important; \n    left: 0 !important; \n    width: 100vw !important; \n    height: 100vh !important; \n    z-index: 999999 !important; \n    background-color: #000 !important;\n  }\n  iframe { width: 100% !important; height: 100% !important; border: none !important; }\n<\/style>\n\n<div class=\"video-container\">\n  <iframe id=\"vimeo-player\" \n          src=\"https:\/\/player.vimeo.com\/video\/1165836608?autoplay=1&muted=1&badge=0&autopause=0&player_id=0&app_id=58479\" \n          allow=\"autoplay; fullscreen; picture-in-picture;\" \n          title=\"Intro Video\">\n  <\/iframe>\n<\/div>\n\n<script src=\"https:\/\/player.vimeo.com\/api\/player.js\"><\/script>\n<script>\n  const iframe = document.querySelector('#vimeo-player');\n  const player = new Vimeo.Player(iframe);\n  const webhookUrl = \"https:\/\/hook.eu2.make.com\/jtdyxjlk3koq86kr181infnh8t7vd8ge\";\n\n  function getPhoneFromUrl() {\n    const params = new URLSearchParams(window.location.search);\n    return params.get('phone');\n  }\n\n  let currentMaxPercent = 0;\n\n  function sendToMake(reason) {\n    const phone = getPhoneFromUrl();\n    if (currentMaxPercent > 0 && phone) {\n      \/\/ \u05e9\u05d9\u05e0\u05d5\u05d9 \u05e9\u05dd \u05d4\u05e1\u05e8\u05d8\u05d5\u05df \u05dc-Intro_Video \u05db\u05d3\u05d9 \u05dc\u05d4\u05d1\u05d3\u05d9\u05dc \u05de\u05d4\u05d5\u05d5\u05d1\u05d9\u05e0\u05e8\n      fetch(`${webhookUrl}?phone=${phone}&percentage=${currentMaxPercent}&videoName=Intro_Video_${reason}`);\n    }\n  }\n\n  player.on('timeupdate', function(data) {\n    let p = Math.round(data.percent * 100);\n    if (p > currentMaxPercent) currentMaxPercent = p;\n  });\n\n  player.on('pause', () => sendToMake('Stopped'));\n  player.on('ended', () => sendToMake('Finished'));\n  window.addEventListener('beforeunload', () => sendToMake('LeftPage'));\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\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":115,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-67989","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/pages\/67989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/comments?post=67989"}],"version-history":[{"count":3,"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/pages\/67989\/revisions"}],"predecessor-version":[{"id":67992,"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/pages\/67989\/revisions\/67992"}],"wp:attachment":[{"href":"https:\/\/greeceinvests.com\/en\/wp-json\/wp\/v2\/media?parent=67989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}