LIVE STREAM & TRACKER: NHL Trade Deadline 2012

/* NOTE: when defining the various sizes below, make sure the dimensions all work together. any images that are too big will get clipped. for example, if the movie is 300 pixels wide, and the logo is defined as 400 pixels wide, it will get clipped. */ //WIDGET PROPERTIES var widgetWidth = 250; //between 250 and 500 pixels var widgetHeight = 300; //between 300 and 800 pixels //full URL for logo image; use 32-bit PNG if you want transparency – if JPG is used, it will cover the gradient/background at the top var logoImgSrc = “http://www.sportsnet.ca/creatives/2012/02/05/snca_widget2.png”; //full URL for RSS feed var rssUrl = “http://www.sportsnet.ca/hockey/trades/trade_tracker/index-pics-.xml”; //”http://preview.sportsnet.ca/hockey/trades/trade_tracker/index.xml”; //full URL for link to Trade Tracker page var pageUrl = “http://www.sportsnet.ca/hockey/trades/trade_tracker/”; //format for logoSize: “[width in pixels]x[height in pixels]”; no spaces (e.g., “244×89”); maximum height is 100 pixels var logoSize = “240×60” var bgColor = “333333”; //valid hex color value (pound sign is optional) //ADVERTISMENT PROPERTIES var adImgSrc = “http://preview.sportsnet.ca/creatives/2012/02/06/coors_lightx244.png”; //full URL for ad image var adLinkUrl = “http://www.facebook.com/coorslightbrewingcompany?sk=app_260526437318090”; //full URL //format for adSize: “[width in pixels]x[height in pixels]”; no spaces (e.g., “244×40”); maximum height is 80 pixels; if ad is narrower than movie, it is centered with black on either side var adSize = “244×40” /* LINK PARAMETERS (OPTIONAL) -these name/value pairs will be appended to all URLs the widget links to. -the names/values are defined in the linkParams object below -the values are url-encoded before being passed into flash NOTE: only strings/numbers allowed (no objects/arrays) EXAMPLE – the following object: var linkParams = { partnerSite: “http://www.somesite.com”, param2: “some other value” }; would translate to the following url-encoded querystring ?partnerSite=http%3A%2F%2Fwww.somesite.com&param2=some+other+value */ var linkParams = { cid: “Trade+Deadline+Widget+citynews”, utm_source: “citynews”, utm_medium: “NHL+Trade+Deadline+Day+Widget” }; //DO NOT EDIT BELOW THIS POINT var movieSrc = “http://www.sportsnet.ca/swf/hockey/trades/sportsnet_trade_tracker.swf”; var linkParamString = “”; for (var val in linkParams) { linkParamString += escape(val + “#” + linkParams[val] + “##”); } var varString = “&tt_w=” + widgetWidth + “&tt_h=” + widgetHeight + “&tt_ru=” + escape(rssUrl) + “&tt_pu=” + escape(pageUrl) + “&tt_li=” + escape(logoImgSrc) + “&tt_ls=” + logoSize + “&tt_bg=” + (bgColor.indexOf(“#”) != -1 ? bgColor.substring(1) : bgColor) + “&tt_ai=” + escape(adImgSrc) + “&tt_al=” + escape(adLinkUrl) + “&tt_as=” + adSize + “&tt_lp=” + linkParamString; document.write(”); document.write(”); document.write(”); document.write(”); document.write(”); document.write(”); document.write(”);

brightcove.createExperiences();

Top Stories

Top Stories

Most Watched Today