Entertainment

Product Of The Day



/* /////////////////////////////////////////////////////////////////////////////// */

/* 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 = “https://www.refinery29.com/images/11505796.jpg”;

/* Hero, Mobile use 720px 1:1,5:6,4:3, 1280px wide squooshed mozJPG at 75% compression */

var mobileHeroImage = “https://www.refinery29.com/images/11505795.jpg”;

/* /////////////////////////////////////////////////////////////////////////////// */

/* 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 = “https://content.jwplatform.com/videos/NFleWxa8-r0yi2e87.mp4”;

/* /////////////////////////////////////////////////////////////////////////////// */

/* 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 = “https://content.jwplatform.com/videos/qNUvKsmJ-b8WZHQfV.mp4”;

/* /////////////////////////////////////////////////////////////////////////////// */

/* 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<961&&(e.src=desktopVideo,e.load()),window.innerWidth<768&&(t.src=mobileVideo,t.load())}function setupVideo(){document.getElementsByClassName("full-width-opener")[0].setAttribute("id","tmp-content"),document.getElementById("tmp-content").innerHTML='

‘,loadVideo()}function setup(e){1==e&&setupVideo()}function ready(e){(document.attachEvent?”complete”===document.readyState:”loading”!==document.readyState)?e():document.addEventListener(“DOMContentLoaded”,e)}document.onmouseleave=function(){window.isReady=!1},window.addEventListener(“resize”,function(){window.isReady=!1}),window.isReady=void 0!==window.isReady&&window.isReady,ready(function(){var e=setInterval(function(){window.imagesLoaded&&(imagesLoaded(“#tmp-load”,{background:!0},function(){window.isReady=!1,clearInterval(e)}),clearInterval(e))},100);if(!1!==window.isReady)return;window.isReady=!0;let t=setTimeout(function(){clearTimeout(t),setup(hasVideo),setupRightRail(),setupOpener(),initOther()},200)});

Finding the perfect gift doesn’t have to mean endless scrolling. Drop by daily for the best gifts of 2023 for everyone from your significant other to your office Secret Santa, each hand-selected by Refinery29 shopping editors.

See also  Why Teen TV Shows Are So Good At Dealing With Death

Previous Gifts

Like what you see? How about some more R29 goodness, right here?



Source link

Good Ads

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please Disable AdBlock