{"id":25,"date":"2025-01-15T17:12:22","date_gmt":"2025-01-15T17:12:22","guid":{"rendered":"https:\/\/gcu-stage.ump.studio\/?page_id=25"},"modified":"2025-01-15T17:12:22","modified_gmt":"2025-01-15T17:12:22","slug":"video","status":"publish","type":"page","link":"https:\/\/decisionsunderfire.com\/uk\/video\/","title":{"rendered":"Video"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"25\" class=\"elementor elementor-25\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c7b7e72 e-con-full e-flex e-con e-parent\" data-id=\"c7b7e72\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-568ae40d elementor-widget__width-inherit elementor-widget elementor-widget-text-editor\" data-id=\"568ae40d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<!--\n<figure class=\"wp-block-video\"><video src=\"https:\/\/gcu-stage.ump.studio\/wp-content\/uploads\/2025\/01\/Estonian-Video-Game-Releases-2024.mp4\" controls=\"controls\" width=\"300\" height=\"150\"><\/video><\/figure>\n-->\n<div style=\"width: 100%; height: 100%;\">\n  <div style=\"width: 100%; height: 100%;\">\n    <div id=\"vimeo-container-1049245423\" style=\"overflow: hidden; display: block;\">\u00a0<\/div>\n    <div id=\"vimeo-container-1047806496\" style=\"overflow: hidden; display: none;\">\u00a0<\/div>\n    <div id=\"vimeo-container-1047806515\" style=\"overflow: hidden; display: none;\">\u00a0<\/div>\n    <div id=\"vimeo-container-1047806551\" style=\"overflow: hidden; display: none;\">\u00a0<\/div>\n    <div id=\"vimeo-container-1047806531\" style=\"overflow: hidden; display: none;\">\u00a0<\/div>\n    <div id=\"vimeo-container-1048530795\"\n         style=\"overflow: hidden; display: none;\">\n    <\/div>\n  <\/div>\n  <div class=\"custom-player-controls\" style=\"position: absolute; top: 0; z-index: 10; align-content: center; width: 100%; height: 100%;\">\n    <div id=\"video-start-div\" style=\"display: none; width: 100%; height: 100%;\">\n      <div style=\"width: 100%; height: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center;\">\n        <p id=\"video-start-button\" style=\"font-size: 40px; background-color: rgba(255,255,255,0.5);\" onmouseover=\"this.style.background='rgba(128,128,128,0.5)';\"\n           onmouseout=\"this.style.background='rgba(255,255,255,0.5)';\">Start video<\/p>\n      <\/div>\n    <\/div>\n    <div id=\"go-home-div\" style=\"display: none; width: 100%; height: 100%;\">\n      <div style=\"width: 100%; height: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center;\">\n        <a href=\"\/uk\/\" style=\"font-size: 40px; background-color: rgba(255,255,255,0.5);\" onmouseover=\"this.style.background='rgba(128,128,128,0.5)';\"\n           onmouseout=\"this.style.background='rgba(255,255,255,0.5)';\">\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438\u0441\u044f \u043d\u0430 \u0433\u043e\u043b\u043e\u0432\u043d\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443<\/a>\n      <\/div>\n    <\/div>\n    <div id=\"option-control\" style=\"display: none; width: 100%; height: 100%;\">\n      <div style=\"width: 100%; height: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center;\">\n        <p id=\"video-option-1\" style=\"width: 100%; height: 100%; align-content: center; text-align: center; font-size: 40px; background-color: rgba(255,255,255,0.5);\" onmouseover=\"this.style.background='rgba(128,128,128,0.5)';\"\n           onmouseout=\"this.style.background='rgba(255,255,255,0.5)';\">\u0412\u0430\u0440\u0456\u0430\u043d\u0442 1<\/p>\n        <p id=\"video-option-2\" style=\"width: 100%; height: 100%; align-content: center; text-align: center; font-size: 40px; background-color: rgba(255,255,255,0.5);\" onmouseover=\"this.style.background='rgba(128,128,128,0.5)';\"\n           onmouseout=\"this.style.background='rgba(255,255,255,0.5)';\">\u0412\u0430\u0440\u0456\u0430\u043d\u0442 2<\/p>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>\n<script>\n  let script = document.createElement('script');\n  script.onload = function () {\n    initiatePlayers();\n  };\n  script.src = \"https:\/\/player.vimeo.com\/api\/player.js\";\n  document.head.appendChild(script);\n\n  let c = {\n    loop: !1,\n    byline: !1,\n    title: !1,\n    portrait: !1,\n    keyboard: !1,\n    controls: !1,\n    autoplay: !1,\n    playsinline: !1,\n    responsive: !0,\n    autopip: !1,\n    pip: !1,\n    muted: !0\n  }\n\n  let maxOptionsCount = 2;\n  let mainPlayerId = 1049245423;\n  let currentlyPlayingVideo = 0;\n  let currentPlayer;\n\n  let videoIds = [\n    1047806496,\n    1047806515,\n    1047806551,\n    1047806531,\n    1048530795\n  ];\n\n  let transitions = {\n    1049245423: [\n      1047806496,\n      1047806515\n    ],\n    1047806496: [\n      1047806551,\n      1047806531\n    ],\n    1047806515: [\n      1047806551,\n      1047806531\n    ],\n    1047806551: [\n      1048530795,\n    ],\n    1047806531: [\n      1048530795,\n    ],\n  };\n\n  async function initiatePlayers() {\n    let mainPlayer;\n    let secondaryPlayers = {};\n\n    async function createPlayer(playerId) {\n      return new Vimeo.Player(\"vimeo-container-\" + playerId, {\n        id: playerId,\n        ...c\n      });\n    }\n\n    mainPlayer = await createPlayer(mainPlayerId);\n    mainPlayer.on('play', function() {\n    });\n\n\n    mainPlayer.setCurrentTime(0);\n\n    for (const element of videoIds) {\n      secondaryPlayers[element] = await createPlayer(element);\n    }\n\n    let t = document.getElementById(\"video-start-div\");\n    t.style.display = \"block\";\n\n    async function playVideo(videoPlayer) {\n      videoPlayer.setMuted(false).then(function(muted) {\n        videoPlayer.play().then(async function() {\n          currentlyPlayingVideo = await videoPlayer.getVideoId();\n          currentPlayer = videoPlayer;\n          initTransitions();\n          \/\/ the video was played\n        }).catch(function(error) {\n          console.log(error.name);\n        });\n\n      }).catch(function(error) {\n        \/\/ an error occurred\n      });\n    }\n\n    function initTransitions() {\n\n      if (!transitions.hasOwnProperty(currentlyPlayingVideo)) {\n        currentPlayer.on('ended', function() {\n          let t = document.getElementById(\"go-home-div\");\n          t.style.display = \"block\";\n        });\n        return;\n      }\n\n      currentPlayer.on('ended', function() {\n        let t = document.getElementById(\"option-control\");\n        t.style.display = \"block\";\n      });\n\n      for (let i = 1; i <= maxOptionsCount; i++) {\n        let buttonOption = document.getElementById(\"video-option-\" + i);\n        buttonOption.style.display = \"none\";\n      }\n      let index = 1;\n\n      for (const element of transitions[currentlyPlayingVideo]) {\n        let buttonOption = document.getElementById(\"video-option-\" + index);\n        buttonOption.style.display = \"block\";\n        index++;\n\n        buttonOption.onclick = function(event) {\n          let t = document.getElementById(\"option-control\");\n          let j = document.getElementById(\"vimeo-container-\" + currentlyPlayingVideo);\n          t.style.display = \"none\";\n          j.style.display = \"none\";\n\n\n          let op1 = document.getElementById(\"vimeo-container-\" + element);\n          op1.style.display = \"block\";\n          playVideo(secondaryPlayers[element]);\n        }\n      }\n    }\n\n    const button = document.getElementById(\"video-start-button\");\n    button.onclick = function(event) {\n      let t = document.getElementById(\"video-start-div\");\n      t.style.display = \"none\";\n      playVideo(mainPlayer);\n    }\n  }\n<\/script>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Start video Back to the Home page Choice 1 Choice 2<\/p>","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-25","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Video - Decision Under Fire<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/decisionsunderfire.com\/uk\/video\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Video - Decision Under Fire\" \/>\n<meta property=\"og:description\" content=\"\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Start video Back to the Home page Choice 1 Choice 2\" \/>\n<meta property=\"og:url\" content=\"https:\/\/decisionsunderfire.com\/uk\/video\/\" \/>\n<meta property=\"og:site_name\" content=\"Decision Under Fire\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/decisionsunderfire.com\/video\/\",\"url\":\"https:\/\/decisionsunderfire.com\/video\/\",\"name\":\"Video - Decision Under Fire\",\"isPartOf\":{\"@id\":\"https:\/\/decisionsunderfire.com\/#website\"},\"datePublished\":\"2025-01-15T17:12:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/decisionsunderfire.com\/video\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/decisionsunderfire.com\/video\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/decisionsunderfire.com\/video\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/decisionsunderfire.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Video\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/decisionsunderfire.com\/#website\",\"url\":\"https:\/\/decisionsunderfire.com\/\",\"name\":\"Decisions Under Fire: Honor and Law in Action\",\"description\":\"Honor and Law in Action\",\"publisher\":{\"@id\":\"https:\/\/decisionsunderfire.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/decisionsunderfire.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/decisionsunderfire.com\/#organization\",\"name\":\"Geneva Call\",\"url\":\"https:\/\/decisionsunderfire.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/decisionsunderfire.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/decisionsunderfire.com\/wp-content\/uploads\/2025\/05\/cropped-1111.png\",\"contentUrl\":\"https:\/\/decisionsunderfire.com\/wp-content\/uploads\/2025\/05\/cropped-1111.png\",\"width\":100,\"height\":100,\"caption\":\"Geneva Call\"},\"image\":{\"@id\":\"https:\/\/decisionsunderfire.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Video - Decision Under Fire","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/decisionsunderfire.com\/uk\/video\/","og_locale":"uk_UA","og_type":"article","og_title":"Video - Decision Under Fire","og_description":"\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Start video Back to the Home page Choice 1 Choice 2","og_url":"https:\/\/decisionsunderfire.com\/uk\/video\/","og_site_name":"Decision Under Fire","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/decisionsunderfire.com\/video\/","url":"https:\/\/decisionsunderfire.com\/video\/","name":"Video - Decision Under Fire","isPartOf":{"@id":"https:\/\/decisionsunderfire.com\/#website"},"datePublished":"2025-01-15T17:12:22+00:00","breadcrumb":{"@id":"https:\/\/decisionsunderfire.com\/video\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/decisionsunderfire.com\/video\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/decisionsunderfire.com\/video\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/decisionsunderfire.com\/"},{"@type":"ListItem","position":2,"name":"Video"}]},{"@type":"WebSite","@id":"https:\/\/decisionsunderfire.com\/#website","url":"https:\/\/decisionsunderfire.com\/","name":"Decisions Under Fire: \u0433\u0456\u0434\u043d\u0456\u0441\u0442\u044c \u0442\u0430 \u0437\u0430\u043a\u043e\u043d","description":"Honor and Law in Action","publisher":{"@id":"https:\/\/decisionsunderfire.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/decisionsunderfire.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/decisionsunderfire.com\/#organization","name":"Geneva Call","url":"https:\/\/decisionsunderfire.com\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/decisionsunderfire.com\/#\/schema\/logo\/image\/","url":"https:\/\/decisionsunderfire.com\/wp-content\/uploads\/2025\/05\/cropped-1111.png","contentUrl":"https:\/\/decisionsunderfire.com\/wp-content\/uploads\/2025\/05\/cropped-1111.png","width":100,"height":100,"caption":"Geneva Call"},"image":{"@id":"https:\/\/decisionsunderfire.com\/#\/schema\/logo\/image\/"}}]}},"featured_image_src":null,"featured_image_src_square":null,"_links":{"self":[{"href":"https:\/\/decisionsunderfire.com\/uk\/wp-json\/wp\/v2\/pages\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/decisionsunderfire.com\/uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/decisionsunderfire.com\/uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/decisionsunderfire.com\/uk\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/decisionsunderfire.com\/uk\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":0,"href":"https:\/\/decisionsunderfire.com\/uk\/wp-json\/wp\/v2\/pages\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/decisionsunderfire.com\/uk\/wp-json\/wp\/v2\/media?parent=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}