The Questions You Need to Ask Before You Join TikTok

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;
}

Note: This post is based on a webinar hosted by Jay Baer with our friends from Visit California and ICUC Social. You can watch it on-demand, too. 

Perhaps you’ve been waiting for TikTok to fade out and run its course as the next “it” app. You expected it to go the way of Vine, Meerkat, and its predecessor, … Read More