[ad_1]
var adServerUrl = “”;
var $el = $( “#video_container-207806” );
var permalink = $el.closest(‘.snet-single-article’).information(‘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.web/gampad/adverts?sz=640×360&cust_params=domainpercent3Dsportsnet.ca&iu=%2F7326percent2Fen.sportsnet.netpercent2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=huge&unviewed_position_start=1&ad_rule=1&vid=6289510951001&cmsid=384’, so, permalink);
} else {
adServerUrl = “http://pubads.g.doubleclick.web/gampad/adverts?sz=640×360&cust_params=domainpercent3Dsportsnet.ca&iu=%2F7326percent2Fen.sportsnet.netpercent2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=huge&unviewed_position_start=1&ad_rule=1&vid=6289510951001&cmsid=384”;
}
*/
adServerUrl = “http://pubads.g.doubleclick.web/gampad/adverts?sz=640×360&cust_params=domainpercent3Dsportsnet.ca&iu=%2F7326percent2Fen.sportsnet.netpercent2FVideo&ciu_szs=300×250&impl=s&gdfp_req=1&env=vp&output=huge&unviewed_position_start=1&ad_rule=1&vid=6289510951001&cmsid=384”;
$el.after( unescape(“%3Cscript src=”” + (doc.location.protocol == “https:” ? “https://sb” : “http://b”) + “.scorecardresearch.com/beacon.js” %3Epercent3C/scriptpercent3E”) );
$( doc ).one( ‘prepared’, operate() {
$( “#video_container-207806” ).SNPlayer( {
bc_account_id: “1704050871”,
bc_player_id: “rkedLxwfab”,
//autoplay: false,
//is_has_autoplay_switch: false,
bc_videos: 6289510951001,
is_has_continuous_play: “false”,
adserverurl: adServerUrl,
part: “”,
thumbnail: “https://www.sportsnet.ca/wp-content/uploads/2021/12/6289510951001-1024×576.jpg”,
direct_url: “https://www.sportsnet.ca/nba/video/nba-highlights-raptors-116-clippers-108/”
});
});
[ad_2]
Source link