[ad_1]
var adServerUrl = “”
var $el = $( “#movie_container-163176” )
var permalink = $el.closest(‘.snet-one-article’).data(‘permalink’)
/*
if ( “1” == true && ‘undefined’ !== typeof window.getIndexAds ) {
var so = preroll:1:1:siteID:191888,2:siteID:191889
adServerUrl = window.getIndexAds( ‘http://pubads.g.doubleclick.net/gampad/ads?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.website%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_place_commence=1&ad_rule=1&vid=6306569145112&cmsid=384’, so, permalink)
} else
adServerUrl = “http://pubads.g.doubleclick.web/gampad/advertisements?sz=640×360&cust_params=area%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.internet%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=large&unviewed_place_get started=1&advertisement_rule=1&vid=6306569145112&cmsid=384”
*/
adServerUrl = “http://pubads.g.doubleclick.net/gampad/advertisements?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.website%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=broad&unviewed_place_start out=1&ad_rule=1&vid=6306569145112&cmsid=384”
var adServerUrl_consequence = adServerUrl.consists of(“cust_params”)
var queryString=”
if(adServerUrl_final 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=”” + (doc.area.protocol == “https:” ? “https://sb” : “http://b”) + “.scorecardresearch.com/beacon.js” %3E%3C/script%3E”) )
$( document ).one particular( “ready’, functionality()
$( “#video clip_container-163176” ).SNPlayer(
bc_account_id: “1704050871”,
bc_player_id: “JCdte3tMv”,
//autoplay: fake,
//is_has_autoplay_switch: bogus,
bc_video clips: 6306569145112,
is_has_steady_perform: “phony”,
adserverurl: adServerUrl,
area: “”,
thumbnail: “https://www.sportsnet.ca/wp-information/uploads/2022/05/6306569145112-1024×576.jpg”,
immediate_url: “https://www.sportsnet.ca/nhl/online video/pendulum-swung-goaltenders-favour-interference-phone calls-time/”
)
)
[ad_2]
Source backlink