{"id":22994,"date":"2022-07-02T16:47:45","date_gmt":"2022-07-02T15:47:45","guid":{"rendered":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/?page_id=22994"},"modified":"2022-07-02T17:54:04","modified_gmt":"2022-07-02T16:54:04","slug":"videos","status":"publish","type":"page","link":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/videos\/","title":{"rendered":"Videos"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-top:30px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1248px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_3_4 3_4 fusion-flex-column fusion-animated\" style=\"--awb-bg-size:cover;--awb-width-large:75%;--awb-margin-top-large:0px;--awb-spacing-right-large:6.72%;--awb-margin-bottom-large:10px;--awb-spacing-left-large:2.56%;--awb-width-medium:66.666666666667%;--awb-spacing-right-medium:2.88%;--awb-spacing-left-medium:2.88%;--awb-width-small:100%;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\" data-animationType=\"fadeInLeft\" data-animationDuration=\"0.6\" data-animationOffset=\"top-into-view\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-title title fusion-title-1 fusion-sep-none fusion-title-text fusion-title-size-two\" style=\"--awb-margin-top:0px;--awb-margin-bottom-small:42px;\"><h2 class=\"fusion-title-heading title-heading-left\" style=\"margin:0;\">Videos<\/h2><\/div><div class=\"fusion-text fusion-text-1\"><p>Our YouTube channel has a growing roster of videos, the latest of which are shown below<\/p>\n<\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_4 1_4 fusion-flex-column fusion-flex-align-self-center fusion-animated\" style=\"--awb-bg-size:cover;--awb-width-large:25%;--awb-margin-top-large:0px;--awb-spacing-right-large:7.68%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:6.72%;--awb-width-medium:33.333333333333%;--awb-spacing-right-medium:5.76%;--awb-spacing-left-medium:5.04%;--awb-width-small:100%;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\" data-animationType=\"fadeInLeft\" data-animationDuration=\"0.6\" data-animationOffset=\"top-into-view\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div ><a class=\"fusion-button button-flat fusion-button-default-size button-custom fusion-button-default button-1 fusion-button-span-yes fusion-button-default-type\" style=\"--button_accent_color:#ffffff;--button_border_color:var(--awb-color5);--button_accent_hover_color:#ffffff;--button_border_hover_color:var(--awb-color4);--button_gradient_top_color:var(--awb-color5);--button_gradient_bottom_color:var(--awb-color5);--button_gradient_top_color_hover:var(--awb-color4);--button_gradient_bottom_color_hover:var(--awb-color4);\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"For All Our Videos Visit The YouTube Channel\" aria-label=\"For All Our Videos Visit The YouTube Channel\" href=\"https:\/\/www.youtube.com\/channel\/UCOdmlxY0viC3aDD-QWdJo8g\/videos\"><span class=\"fusion-button-text\">For All Our Videos Visit The YouTube Channel<\/span><i class=\"fa-youtube fab button-icon-right\" aria-hidden=\"true\"><\/i><\/a><\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><iframe class=\"latestVideoEmbed\" vnum='0' cid=\"UCOdmlxY0viC3aDD-QWdJo8g\" width=\"100%\" height=\"500\" frameborder=\"0\" allowfullscreen><\/iframe>\n\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.1.1\/jquery.min.js\"><\/script>\n<script>\nvar reqURL = \"https:\/\/api.rss2json.com\/v1\/api.json?rss_url=\" + encodeURIComponent(\"https:\/\/www.youtube.com\/feeds\/videos.xml?channel_id=\");\nfunction loadVideo(iframe) {\n  $.getJSON(reqURL + iframe.getAttribute('cid'),\n    function(data) {\n      var videoNumber = (iframe.getAttribute('vnum') ? Number(iframe.getAttribute('vnum')) : 0);\n      console.log(videoNumber);\n      var link = data.items[videoNumber].link;\n      id = link.substr(link.indexOf(\"=\") + 1);\n      iframe.setAttribute(\"src\", \"https:\/\/youtube.com\/embed\/\" + id + \"?controls=1&autoplay=0\");\n    }\n  );\n}\nvar iframes = document.getElementsByClassName('latestVideoEmbed');\nfor (var i = 0, len = iframes.length; i < len; i++) {\n  loadVideo(iframes[i]);\n}\n<\/script><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-3 fusion_builder_column_1_4 1_4 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:25%;--awb-margin-top-large:0px;--awb-spacing-right-large:7.68%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:7.68%;--awb-width-medium:25%;--awb-order-medium:0;--awb-spacing-right-medium:7.68%;--awb-spacing-left-medium:7.68%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><iframe class=\"latestVideoEmbed\" vnum='1' cid=\"UCOdmlxY0viC3aDD-QWdJo8g\" width=\"100%\" height=\"100%\" frameborder=\"0\" allowfullscreen><\/iframe>\n\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.1.1\/jquery.min.js\"><\/script>\n<script>\nvar reqURL = \"https:\/\/api.rss2json.com\/v1\/api.json?rss_url=\" + encodeURIComponent(\"https:\/\/www.youtube.com\/feeds\/videos.xml?channel_id=\");\nfunction loadVideo(iframe) {\n  $.getJSON(reqURL + iframe.getAttribute('cid'),\n    function(data) {\n      var videoNumber = (iframe.getAttribute('vnum') ? Number(iframe.getAttribute('vnum')) : 0);\n      console.log(videoNumber);\n      var link = data.items[videoNumber].link;\n      id = link.substr(link.indexOf(\"=\") + 1);\n      iframe.setAttribute(\"src\", \"https:\/\/youtube.com\/embed\/\" + id + \"?controls=1&autoplay=0\");\n    }\n  );\n}\nvar iframes = document.getElementsByClassName('latestVideoEmbed');\nfor (var i = 0, len = iframes.length; i < len; i++) {\n  loadVideo(iframes[i]);\n}\n<\/script><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-4 fusion_builder_column_1_4 1_4 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:25%;--awb-margin-top-large:0px;--awb-spacing-right-large:7.68%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:7.68%;--awb-width-medium:25%;--awb-order-medium:0;--awb-spacing-right-medium:7.68%;--awb-spacing-left-medium:7.68%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><iframe class=\"latestVideoEmbed\" vnum='2' cid=\"UCOdmlxY0viC3aDD-QWdJo8g\" width=\"100%\" height=\"100%\" frameborder=\"0\" allowfullscreen><\/iframe>\n\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.1.1\/jquery.min.js\"><\/script>\n<script>\nvar reqURL = \"https:\/\/api.rss2json.com\/v1\/api.json?rss_url=\" + encodeURIComponent(\"https:\/\/www.youtube.com\/feeds\/videos.xml?channel_id=\");\nfunction loadVideo(iframe) {\n  $.getJSON(reqURL + iframe.getAttribute('cid'),\n    function(data) {\n      var videoNumber = (iframe.getAttribute('vnum') ? Number(iframe.getAttribute('vnum')) : 0);\n      console.log(videoNumber);\n      var link = data.items[videoNumber].link;\n      id = link.substr(link.indexOf(\"=\") + 1);\n      iframe.setAttribute(\"src\", \"https:\/\/youtube.com\/embed\/\" + id + \"?controls=1&autoplay=0\");\n    }\n  );\n}\nvar iframes = document.getElementsByClassName('latestVideoEmbed');\nfor (var i = 0, len = iframes.length; i < len; i++) {\n  loadVideo(iframes[i]);\n}\n<\/script><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-5 fusion_builder_column_1_4 1_4 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:25%;--awb-margin-top-large:0px;--awb-spacing-right-large:7.68%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:7.68%;--awb-width-medium:25%;--awb-order-medium:0;--awb-spacing-right-medium:7.68%;--awb-spacing-left-medium:7.68%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><iframe class=\"latestVideoEmbed\" vnum='3' cid=\"UCOdmlxY0viC3aDD-QWdJo8g\" width=\"100%\" height=\"100%\" frameborder=\"0\" allowfullscreen><\/iframe>\n\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.1.1\/jquery.min.js\"><\/script>\n<script>\nvar reqURL = \"https:\/\/api.rss2json.com\/v1\/api.json?rss_url=\" + encodeURIComponent(\"https:\/\/www.youtube.com\/feeds\/videos.xml?channel_id=\");\nfunction loadVideo(iframe) {\n  $.getJSON(reqURL + iframe.getAttribute('cid'),\n    function(data) {\n      var videoNumber = (iframe.getAttribute('vnum') ? Number(iframe.getAttribute('vnum')) : 0);\n      console.log(videoNumber);\n      var link = data.items[videoNumber].link;\n      id = link.substr(link.indexOf(\"=\") + 1);\n      iframe.setAttribute(\"src\", \"https:\/\/youtube.com\/embed\/\" + id + \"?controls=1&autoplay=0\");\n    }\n  );\n}\nvar iframes = document.getElementsByClassName('latestVideoEmbed');\nfor (var i = 0, len = iframes.length; i < len; i++) {\n  loadVideo(iframes[i]);\n}\n<\/script><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-6 fusion_builder_column_1_4 1_4 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:25%;--awb-margin-top-large:0px;--awb-spacing-right-large:7.68%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:7.68%;--awb-width-medium:25%;--awb-order-medium:0;--awb-spacing-right-medium:7.68%;--awb-spacing-left-medium:7.68%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><iframe class=\"latestVideoEmbed\" vnum='4' cid=\"UCOdmlxY0viC3aDD-QWdJo8g\" width=\"100%\" height=\"100%\" frameborder=\"0\" allowfullscreen><\/iframe>\n\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.1.1\/jquery.min.js\"><\/script>\n<script>\nvar reqURL = \"https:\/\/api.rss2json.com\/v1\/api.json?rss_url=\" + encodeURIComponent(\"https:\/\/www.youtube.com\/feeds\/videos.xml?channel_id=\");\nfunction loadVideo(iframe) {\n  $.getJSON(reqURL + iframe.getAttribute('cid'),\n    function(data) {\n      var videoNumber = (iframe.getAttribute('vnum') ? Number(iframe.getAttribute('vnum')) : 0);\n      console.log(videoNumber);\n      var link = data.items[videoNumber].link;\n      id = link.substr(link.indexOf(\"=\") + 1);\n      iframe.setAttribute(\"src\", \"https:\/\/youtube.com\/embed\/\" + id + \"?controls=1&autoplay=0\");\n    }\n  );\n}\nvar iframes = document.getElementsByClassName('latestVideoEmbed');\nfor (var i = 0, len = iframes.length; i < len; i++) {\n  loadVideo(iframes[i]);\n}\n<\/script><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":12,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"footnotes":""},"class_list":["post-22994","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/pages\/22994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/comments?post=22994"}],"version-history":[{"count":4,"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/pages\/22994\/revisions"}],"predecessor-version":[{"id":22999,"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/pages\/22994\/revisions\/22999"}],"wp:attachment":[{"href":"https:\/\/sites.dundee.ac.uk\/energyhubplus\/wp-json\/wp\/v2\/media?parent=22994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}