`;
articleContent = document.querySelector(“.article-content”);
articleContent.innerHTML = articleContent.innerHTML + formbox;
function waitForElement(id, callback){
var goStahp = setInterval(function(){
if(document.getElementById(id)){
clearInterval(goStahp);
callback();
}
}, 100);
}
waitForElement(“customAnvatoPlayerForHowTipsBecomeStories”, function(){
// AnvatoPlayer(“customAnvatoPlayerForHowTipsBecomeStories”).init({
// url: “https://ep-lin-publish.storage.googleapis.com/videos_lin/variant/5541156.m3u8”,
// width: “100%”,
// poster: “https://www.kxan.com/wp-content/uploads/sites/40/2020/05/Featured-Image-Tip-Form-Video.jpg”,
// “share” : 0,
// “mcp”:”LIN”,
// “plugins”:{
// “googleAnalytics”:{
// “trackingId”:”UA-32507368-26″,
// “events”:{
// “VIDEO_STARTED”:{
// “alias”: “How a Tip Becomes A Story – videoContentPlay”,
// “category”:”Video”
// },
// “VIDEO_FIRST_QUARTILE”:{
// “alias”: “How a Tip Becomes A Story – video 25%”,
// “category”:”Video”
// },
// “VIDEO_MID_POINT”:{
// “alias”: “How a Tip Becomes A Story – video 50%”,
// “category”:”Video”
// },
// “VIDEO_THIRD_QUARTILE”:{
// “alias”: “How a Tip Becomes A Story – video 75%”,
// “category”:”Video”
// },
// “VIDEO_COMPLETED”:{
// “alias”: “How a Tip Becomes A Story – videoComplete”,
// “category”:”Video”
// },
// “USER_PAUSE”:{
// “alias”: “How a Tip Becomes A Story – videoPause”,
// “category”:”Video”
// }
// }
// },
// }
// });
});