var video_uuid = "MgyTslxKgwn"; if (video_count == undefined) {var video_count = 0} else {video_count++} var prebidOfTagUrl = null; var prebidOfPosition = null; var custParams = null; var djCampaignId = "0"; if (dj_adtags == undefined) { var dj_adtags = {} var invokePlayer; } invokePlayer = (prerollVastUrl, midrollVastUrl, postrollVastUrl, position, params) => { dj_adtags['MgyTslxKgwn'] = { 'preroll': prerollVastUrl, 'midroll': midrollVastUrl, 'postroll': postrollVastUrl, 'position': position, 'params': params }; prebidOfPosition = position; params ? custParams = params : custParams = null; } var vidWrap = document.createElement("div"); vidWrap.setAttribute("data-pubid","4"); vidWrap.setAttribute("data-coid","2"); vidWrap.setAttribute("data-poster","https://i.cdn.dejacast.com/dejacast/2022/08/05/MgyTslxKgwn_1.jpg"); vidWrap.setAttribute("data-controls","1"); vidWrap.setAttribute("data-preload","auto"); vidWrap.setAttribute("data-vid","6643"); vidWrap.setAttribute("data-uuid",video_uuid); vidWrap.setAttribute("data-env","https://app.dejacast.com"); vidWrap.setAttribute("data-playurl","https://r2.cdn.dejacast.com/dejacast/2022/08/05/ce1fff7f16b199c40f6bcaf7df51285771246b0ac8d373cca20864415337c847_360p.mp4"); vidWrap.setAttribute("data-jsasset","https://app.dejacast.com/js/v/0.1.18/djvideo.js"); vidWrap.setAttribute("data-lightplayer","false"); vidWrap.setAttribute("data-blankurl","https://omniview.cdn.dejacast.com/pixel.mp4"); vidWrap.setAttribute("data-loop","0"); vidWrap.setAttribute("data-autoplay","ON"); vidWrap.setAttribute("data-title","Big Buck Bunny"); vidWrap.setAttribute("data-playlistMode",""); vidWrap.setAttribute("data-h","1faf2c3c60e58c85551d1d0a39afacc63932a53473d736292c588c7f21e7571c"); vidWrap.setAttribute("data-muted","1"); vidWrap.setAttribute("data-mutemode","1"); vidWrap.setAttribute("data-hasads","1"); vidWrap.setAttribute("data-pslug","PeZAlfow"); vidWrap.setAttribute("data-isfloating","1"); vidWrap.setAttribute("data-passbackalwayson","0"); vidWrap.setAttribute("data-placement","instream"); vidWrap.setAttribute("data-omnifocus","1"); vidWrap.setAttribute("data-ofconfig","{\"delay_seconds\":\"3\",\"interval_seconds\":\"3\",\"position\":\"bottom-right\",\"mobile\":{\"zIndex\":\"100000\",\"marginTop\":null,\"marginLeft\":null,\"marginRight\":\"20\",\"marginBottom\":\"20\",\"closeBtn\":\"top-left\"},\"desktop\":{\"zIndex\":\"10000\",\"marginTop\":null,\"marginLeft\":null,\"marginRight\":\"40\",\"marginBottom\":\"40\",\"closeBtn\":\"top-right\"}}"); vidWrap.setAttribute("data-olconfig","{}"); vidWrap.setAttribute("data-floatpos","top-right"); vidWrap.setAttribute("class","dj-mainref"); vidWrap.setAttribute("id","dj"+video_uuid); vidWrap.setAttribute("data-pubslug","dejacast"); vidWrap.setAttribute("data-vlen", 635000); document.currentScript.insertAdjacentElement('afterend', vidWrap); vw = document.getElementById("dj"+video_uuid); var embedScript = document.createElement("script"); embedScript.setAttribute("type","text/javascript") embedScript.setAttribute("src", "https://app.dejacast.com/js/embed.js?u="+video_uuid+"&v=20240305"); var placer = document.getElementById("dj"+video_uuid); vw.insertAdjacentElement('afterend', embedScript); if (refs == undefined) {var refs = []} refs.push(vidWrap);