[ad_1]
var adServerUrl = “”
var $el = $( “#online video_container-664073” )
var permalink = $el.closest(‘.snet-single-article’).details(‘permalink’)
/*
if ( “1” == genuine && ‘undefined’ !== typeof window.getIndexAds ) {
var so = preroll:1:1:siteID:191888,2:siteID:191889
adServerUrl = window.getIndexAds( ‘http://pubads.g.doubleclick.web/gampad/adverts?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.world wide web%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start out=1&advert_rule=1&vid=6309654511112&cmsid=384’, so, permalink)
} else
adServerUrl = “http://pubads.g.doubleclick.net/gampad/adverts?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.world wide web%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_place_begin=1&ad_rule=1&vid=6309654511112&cmsid=384”
*/
adServerUrl = “http://pubads.g.doubleclick.internet/gampad/adverts?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.world wide web%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_situation_start out=1&ad_rule=1&vid=6309654511112&cmsid=384”
var adServerUrl_end result = adServerUrl.contains(“cust_params”)
var queryString=”
if(adServerUrl_end result)
var gettheDUFI = localStorage.getItem(“theRED_loc”)
if(gettheDUFI)
queryString += “dufiid=” + gettheDUFI + ‘&’
queryString += “ppid=” + gettheDUFI + ‘&’
var ppid = “ppid=” + gettheDUFI + ‘&’
var DUFI_IP = sessionStorage.getItem(“DUFI_IP”)
if(DUFI_IP)
queryString += “dufiip=” + DUFI_IP + ‘&’
adServerUrl = adServerUrl.replace(/cust_params=/, ppid + ‘cust_params=” + encodeURIComponent(queryString) )
$el.right after( unescape(“%3Cscript src=”” + (document.area.protocol == “https:” ? “https://sb” : “http://b”) + “.scorecardresearch.com/beacon.js” %3E%3C/script%3E”) )
$( document ).one particular( “ready’, perform()
$( “#video clip_container-664073” ).SNPlayer(
bc_account_id: “1704050871”,
bc_participant_id: “JCdte3tMv”,
//autoplay: untrue,
//is_has_autoplay_swap: phony,
bc_videos: 6309654511112,
is_has_continual_play: “bogus”,
adserverurl: adServerUrl,
area: “”,
thumbnail: “https://www.sportsnet.ca/wp-content/uploads/2022/07/6309654511112-1024×576.jpg”,
direct_url: “https://www.sportsnet.ca/mlb/video clip/mlb-highlights-diamondbacks-3-padres-1/”
)
)
[ad_2]
Source connection