var adServerUrl = “”
var $el = $( “#video_container-374236” )
var permalink = $el.closest(‘.snet-single-article’).data(‘permalink’)
/*
if ( “1” == accurate && ‘undefined’ !== typeof window.getIndexAds ) {
var so = preroll:1:1:siteID:191888,2:siteID:191889
adServerUrl = window.getIndexAds( ‘http://pubads.g.doubleclick.web/gampad/advertisements?sz=640×360&cust_params=area%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_commence=1&advert_rule=1&vid=6310307594112&cmsid=384’, so, permalink)
} else
adServerUrl = “http://pubads.g.doubleclick.internet/gampad/ads?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=huge&unviewed_posture_start out=1&ad_rule=1&vid=6310307594112&cmsid=384”
*/
adServerUrl = “http://pubads.g.doubleclick.web/gampad/advertisements?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.internet%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=broad&unviewed_situation_start off=1&advertisement_rule=1&vid=6310307594112&cmsid=384”
var adServerUrl_end result = adServerUrl.consists of(“cust_params”)
var queryString=”
if(adServerUrl_consequence)
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.swap(/cust_params=/, ppid + ‘cust_params=” + encodeURIComponent(queryString) )
$el.right after( unescape(“%3Cscript src=”” + (document.spot.protocol == “https:” ? “https://sb” : “http://b”) + “.scorecardresearch.com/beacon.js” %3E%3C/script%3E”) )
$( doc ).1( “ready’, functionality()
$( “#video clip_container-374236” ).SNPlayer(
bc_account_id: “1704050871”,
bc_player_id: “JCdte3tMv”,
//autoplay: phony,
//is_has_autoplay_swap: bogus,
bc_video clips: 6310307594112,
is_has_ongoing_engage in: “wrong”,
adserverurl: adServerUrl,
area: “”,
thumbnail: “https://www.sportsnet.ca/wp-material/uploads/2022/08/6310307594112-1024×576.jpg”,
direct_url: “https://www.sportsnet.ca/mlb/video/mlb-highlights-twins-5-tigers-3-10/”
)
)
More Stories
What Happened in Sports: April 13, 2022
Wisconsin women’s hockey team adds a 2022 Olympian via transfer | Wisconsin Badgers Hockey
AL West Primer: Los Angeles Angels