Blog

Tips for staying safe as society opens [Video]

Written by admin

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”, “//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;”;
var isIE = navigator.userAgent.match(/ MSIE(([0 – 9] +)(.[0 – 9] +) ?) /);
var isEdge = navigator.userAgent.indexOf(“Edge”) > -1 || navigator.userAgent.indexOf(“Trident”) > -1;
if (isIE || isEdge) {
fixVideoPoster();
}
}, 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=’https://d372qxeqh8y72i.cloudfront.net/1035773775_web.jpg’]”)[0]; if (assetGallery) {
assetGallery.style.cssText = “display: none;”;
}
}
function fixVideoPoster() {
var videoPlayer = document.getElementById(“bptVideoPlayer”);
var videoPoster = document.getElementById(“bptVideoPoster”);
fixVideoPosterPosition(videoPlayer, videoPoster, true);
window.onresize = function() {
fixVideoPosterPosition(videoPlayer, videoPoster);
};
videoPoster.onclick = function() {
videoPlayer.play();
videoPoster.style.display = “none”;
};
videoPlayer.onplay = function() {
videoPoster.style.display = “none”;
};
}
function fixVideoPosterPosition(videoPlayer, videoPoster, display) {
setTimeout(function () {
var videoPosition = videoPlayer.getBoundingClientRect();
videoPoster.style.position = “absolute”;
videoPoster.style.top = “0”;
videoPoster.style.left = “0”;
videoPoster.style.width = videoPlayer.offsetWidth + “px”;
videoPoster.style.height = (videoPlayer.offsetHeight + 20) + “px”;
if (display) {
videoPoster.style.display = “inline”;
}
}, 1010);
}

(BPT) – As states begin to open up across the country, many Americans are trying to comprehend re-entering the world under a new normal. It’s important that everyone takes proactive steps to protect themselves and others while outside their home. As part of this re-opening, many of us will try to get back to routine wellness exams, dentist appointments, or schedule an elective surgery. Safety measures should be taken while heading out to our doctor’s offices or other routine health needs. Each day, individuals are still facing unemployment due to the pandemic, and it’s important to know low-cost health care options are available for those uninsured. RxSaver By RetailMeNot™ Medical Expert Dr. Holly Phillips shares more details.

Source link

About the author

admin

Leave a Comment

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.