if (typeof BingeIframeRan === “undefined”) {
window.addEventListener(“message”, receiveMessage, false);
function receiveMessage(event) {
try {
var parsed = JSON.parse(event.data)
if (parsed.context === “iframe.resize”) {
var iframes = document.getElementsByClassName(“binge-iframe”);
for (let i = 0; i < iframes.length; ++i) {
if (iframes[i].src == parsed.src || iframes[i].contentWindow === event.source) {
iframes[i].height = parsed.height; }
iframes[i].style.opacity = 1;
}
}
} catch (error) {
}
}
var BingeIframeRan = true;
}
Social selling of consumer products often includes sharable “unboxing video experiences” posted by influential reviewers and fans. They range widely in production values, but the secret is not just in the video. The key is in the star of the show—the box itself.
By John Parsons
In 2011, Google popularized a concept dubbed the “Zero Moment… Read More