/* /////////////////////////////////////////////////////////////////////////////// */
/* EDIT – Do you need a video opener? Set to ‘true’ if animated video, if not set to ‘false’ */
var hasVideo = false;
/* /////////////////////////////////////////////////////////////////////////////// */
/* Video loading image, Use image from first frame */
/* Hero, Desktop & Tablet use 8:3, 2000px x 750px squooshed mozJPG at 75% compression */
var desktopHeroImage = “”;
/* Hero, Mobile use 720px 1:1,5:6,4:3, 1280px wide squooshed mozJPG at 75% compression */
var mobileHeroImage = “”;
/* /////////////////////////////////////////////////////////////////////////////// */
/* Please add accessible alt text */
var desktopHeroAltText = “”;
var mobileHeroAltText = “”;
/* /////////////////////////////////////////////////////////////////////////////// */
/* EDIT – Desktop & Tablet wide video URL from JWPlayer, use min 1920px x 720px 8:3 wide asset, 6-10 second loop, no audio */
var desktopVideo = “”;
/* /////////////////////////////////////////////////////////////////////////////// */
/* EDIT – Mobile video URL from JWPlayer, use 720px 1:1,5:6,4:3 squre/tall asset, 6-10 second loop, no audio */
var mobileVideo = “”;
/* /////////////////////////////////////////////////////////////////////////////// */
/* EDIT: Build additional functions here. */
function initOther() {
/* Call addtional functions */
}
/* /////////////////////////////////////////////////////////////////////////////// */
/* DO NOT ALTER */
let isRightRail=!1;function setupRightRail(){let e=document.querySelectorAll(“.r29-article”)[0].classList.contains(“right-rail-article”);isRightRail=!0==e}function setupOpener(){if(!1==isRightRail){let e=document.querySelectorAll(“.opener .full-width-opener”);e[0].style.opacity=1,e[0].style.transition=”all 0.3s ease-in-out”,e[0].style.webkitTransition=”all 0.3s ease-in-out”,e=void 0}}function loadVideo(){var e=document.getElementById(“tmp-video-hero-desktop”),t=document.getElementById(“tmp-video-hero-mobile”);window.innerWidth>960&&(e.src=desktopVideo,e.load()),window.innerWidth>767&&window.innerWidth …read more
Source:: Refinery29