Recent Comments

    Archives

    Reinvent your morning routine [Video]

    var bptVideoPlayer = document.getElementById(“bptVideoPlayer”); if (bptVideoPlayer) { var cssText = “width: 100%;”; cssText += ” background: url(‘” + bptVideoPlayer.getAttribute(“poster”) + “‘);”; cssText += ” -webkit-background-size: cover;”; cssText += ” -moz-background-size: cover;”; cssText += ” -o-background-size: cover;”; cssText += ” background-size: cover;”; bptVideoPlayer.style.cssText = cssText; bptVideoPlayer.setAttribute(“poster”, “http://www.brandpointcontent.com/printsite/images/spacer.gif”); var bptVideoPlayerContainer = document.getElementById(“bptVideoPlayerContainer”); if (bptVideoPlayerContainer) { setTimeout(function () { bptVideoPlayerContainer.style.cssText = “display: block; position: relative; margin-bottom: 10px;”; }, 1000); } var bptVideoPlayButton = document.getElementById(“bptVideoPlayButton”); if (bptVideoPlayButton) { bptVideoPlayButton.addEventListener(“click”, function () { bptVideoPlayer.play(); }, false); bptVideoPlayer.addEventListener(“play”, function () { bptVideoPlayButton.style.cssText = “display: none;”; }, false); } var mainImage = document.getElementById(“mainImageImgContainer_sm”); if (mainImage) { mainImage.style.cssText = “display: none;”; } var mainImage = document.getElementById(“photo-noresize”); if (mainImage) { mainImage.style.cssText = “display: none;”; } var assetGallery = document.getElementsByClassName(“asset_gallery”)[0]; if (assetGallery) { assetGallery.style.cssText = “display: none;”; } var assetGallery = document.getElementsByClassName(“trb_article_leadart”)[0]; if (assetGallery) { assetGallery.style.cssText = “display: none;”; } var assetGallery = document.querySelectorAll(“[src=’http://images.brandpointcontent.s3.amazonaws.com/30780688_web.jpg’]”)[0]; if (assetGallery) { assetGallery.style.cssText = “display: none;”; } }


    Leave a Reply

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