MLB Highlights: Red Sox 7, Royals 4 – Sportsnet.ca

var adServerUrl = “”;
var $el = $( “#video_container-668716” );
var permalink = $el.closest(‘.snet-single-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.web%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&ad_rule=1&vid=6310509511112&cmsid=384’, so, permalink);
} else {
adServerUrl = “http://pubads.g.doubleclick.net/gampad/ads?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.web%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&ad_rule=1&vid=6310509511112&cmsid=384”;
}
*/
adServerUrl = “http://pubads.g.doubleclick.net/gampad/ads?sz=640×360&cust_params=domain%3Dsportsnet.ca&iu=%2F7326%2Fen.sportsnet.web%2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&ad_rule=1&vid=6310509511112&cmsid=384”;
var adServerUrl_result = adServerUrl.includes(“cust_params”);
var queryString=”;
if(adServerUrl_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.after( unescape(“%3Cscript src=\”” + (document.location.protocol == “https:” ? “https://sb” : “http://b”) + “.scorecardresearch.com/beacon.js\” %3E%3C/script%3E”) );

$( document ).one( “ready’, function() {
$( “#video_container-668716” ).SNPlayer( {
bc_account_id: “1704050871”,
bc_player_id: “JCdte3tMv”,
//autoplay: false,
//is_has_autoplay_switch: false,
bc_videos: 6310509511112,
is_has_continuous_play: “false”,
adserverurl: adServerUrl,
section: “”,
thumbnail: “https://www.sportsnet.ca/wp-content/uploads/2022/08/6310509511112-1024×576.jpg”,
direct_url: “https://www.sportsnet.ca/mlb/video/mlb-highlights-red-sox-7-royals-4/”
});
});

Source link

Latest

Liverpool v Crystal Palace: Premier League – live!

Key eventsShow key events onlyPlease turn on JavaScript to...

Senate G.O.P. Campaign Arm Slashes TV Ad Buys in Three States

The Republicans’ Senate campaign committee has slashed its television...

Latest PRO Memo: Gulf states changing labor, visa and residency policies to attract foreign wealth, talent

In his latest PRO memo, Robert Mogielnicki analyzes how...

Heathrow passengers face more uncertainty as capacity cap extended

Heathrow airport has extended its 100,000 passenger a day...

Flames’ Jonathan Huberdeau pledges to donate brain for research

Calgary Flames star Jonathan Huberdeau has pledged to donate his brain to Project Enlist Canada for research on brain injuries. Former astronaut Marc Garneau, all-Ivy...