var club = "mlb", section = "multimedia", ctxPath = "", page_id = "topic_video_vtp_klondike", pageid = "topic_video_vtp_klondike", dc_keyVal = "", dc_lang = "en", sysdate = "201305202348"; if(!Function.prototype.bind){Function.prototype.bind=function(c){return $.proxy(this,c)}} (function ($, bam) { bam.env = bam.env || {}; bam.env.host = bam.env.host || {}; $.extend(bam.env.host, { getWebCacheServerURL : function () { return "http://mlb.mlb.com"; }, getSSLServerURL : function () { return "https://secure.mlb.com"; }, getServerURL : function () { return "http://www.mlb.com"; } }); bam.I18N = 'en'; bam.EASTERN_OFFSET = -400; bam.getEasternDate = function () { return bam.getDateByOffset(bam.EASTERN_OFFSET); }; bam.EASTERN_TIME = bam.getEasternDate(); var flips = { global: '05/20/2013 11:00 AM GMT-400' }; bam.getFlipDate = function (club) { return new Date(flips[club || window.club] || flips.global); }; bam.getFlipDisplayDate = function (club) { var flip = bam.getFlipDate(club); if (new Date() < flip) { flip.setDate(flip.getDate() - 1); } return $.floorDate('day', flip); }; })(jQuery, bam); var swapFLAforMIA = (function(){ var c_id = bam.url.Location(window.location).getParam("c_id"); if(c_id !== undefined && c_id.toLowerCase() === "fla"){ $.getScript("/shared/span style=visibility:hiddens/external/jquery.ba-bbq.min.js", function(x){ window.location.replace($.param.querystring(window.location.href, "c_id=mia")); }); } })(); var _sf_startpt=(new Date()).getTime()
if (typeof urlDecode == "undefined") document.writeln(""); if (typeof GetCookie == "undefined") document.writeln(""); var omDomain = document.location.hostname.toLowerCase(); var isProd = ( (omDomain.indexOf("betasecure.") == -1) && (omDomain.indexOf("beta.") == -1) && (omDomain.indexOf("dev-") == -1) && (omDomain.indexOf("qa.") == -1) && (omDomain.indexOf("qa2.") == -1) ) ? true : false; var s_rsid = (isProd) ? "mlbglobal08,mlbcom08" : "devmlbglobal"; if (/alwaysepic|iam42|fancave/.test(document.location.href)){ if (isProd) { s_rsid += ",mlbhillholliday"; } else { s_rsid += ",mlbhillhollidaydev"; // custom rsid for Hill Holliday tracking suite } } var s_account = s_rsid; // for legacy g code tracking var omPageName = (document.location.href.indexOf("/wbc/2009/") > 0) ? "WBC wbc:".toUpperCase() + " Major League Baseball: Multimedia: Video Playback Page" : "Major League Baseball: Multimedia: Video Playback Page"; var omniture_meta_author = ""; var omniture_meta_title = ""; var omniture_sponsor_name = ""; var author_test; var res_arr = []; s.pageName = omPageName; s.channel = "Multimedia"; s.prop1 = "VPP Klondike: Moment of Glory"; s.currencyCode= "USD"; if (s.pageName.match(/News/)) { s.prop2 = s.getQueryParam("content_id"); } s.prop3 = s.getQueryParam("player_id"); if (window.location.pathname.match(/search/)) { s.prop4 = s.getQueryParam("query") ? unescape(s.getQueryParam("query").toLowerCase()) : ""; } //s.prop5 = s.getTimeParting('h','-5','2013'); // Set hour //s.prop6 = s.getTimeParting('d','-5','2013'); // Set day //s.prop7 = s.getTimeParting('w','-5','2013'); // Set Weekend / Weekday //if (document.location.href.indexOf("/wbc/2009/") > 0){ s.prop8 = "WBC"; } // custom attribute for WBC section if (document.location.href.indexOf("article") > 0){ s.prop61 = omniture_meta_title; } if (omniture_meta_author) { if (omniture_meta_author.indexOf("/") > -1) { author_test = new RegExp(/^By\s(.*\s.*)\s\//); res_arr = author_test.exec(omniture_meta_author); omniture_meta_author = res_arr[1]; } if (document.location.href.indexOf("article") > 0){ s.prop62 = omniture_meta_author; } } if (document.location.href.indexOf("article") > 0){ s.prop63 = omniture_sponsor_name; } s.prop24 = s_rsid; s.campaign = s.getQueryParam("partnerId"); s.eVar1 = s.getQueryParam("vbID"); s.eVar2 = s.prop4; s.eVar4 = s.getQueryParam("affiliateId"); s.eVar8 = ""; s.eVar9 = ""; s.eVar14 = s.getQueryParam("tcid"); s.eVar21 = s.getQueryParam("tdl"); s.eVar22 = s.getQueryParam("tfl"); s.eVar25 = s.getQueryParam("mlbkw"); s.eVar34 = s.getQueryParam('app_data','','f'); s.events = "event4"; var _ns=1, _uidn="", _nd = new Date(), _puidn = "", _suc = GetCookie("stUtil_cookie"); if (_suc) { _ns = _suc.split("|")[0]; _uidn = _suc.split("|")[1]; _puidn = _suc.split("|")[2]; } if (GetCookie("ipid")) { var T_uidn = GetCookie("ipid"); if (_uidn == "") { _uidn = T_uidn; } else if (_uidn != T_uidn) { _uidn = T_uidn; _puidn = Math.floor(Math.random() * 1000000000) + "" + _nd.getTime(); } } if (_puidn == "") _puidn = Math.floor(Math.random() * 1000000000) + "" + _nd.getTime(); _suc = _ns + "|" + _uidn + "|" + _puidn; SetCookie("stUtil_cookie", _suc, 365, "/", ".mlb.com"); //s.prop21 = _puidn, s.eVar10 = _puidn; s.prop22 = _uidn, s.eVar11 = _uidn; s.linkInternalFilters="javaspan style=visibility:hidden:,mlb,mlb" /* functions ported from s_code_remote.js */ function launchFlashLink(linkURL, trackCode) { if (linkURL.indexOf("javaspan style=visibility:hidden:") != -1) eval(linkURL); else window.location.href = linkURL; } function simOmniturePageView() { } function sendAnalyticsEvent() {} function trackFlash(linkname) {} function trackSProp(s_prop, val) {} function trackClick(linkname,t_sprop,cat_name) {} /********* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//-->
To learn about our efforts to improve the accessibility and usability of our website, please visit our Accessibility Information page. Skip to main content
(function (window, document, $) { $('#value-menu-links .value-menu-link').slice(-6).addClass('last_five'); $('#value-menu-container').valuemenu(); })(this, document, jQuery);
(function(window, document, $, bam) { var vppConfig = { club : "mlb", baseUrl : "http://mlb.mlb.com", selfUrl : "/video/play.jsp", topicId : "vtp_klondike", topicName : "" || "Klondike: Moment of Glory", maxClips : +"200", clipsPerPage : 20, // hard-coded for this design playerName : "", autostart : ("Y"=="Y"), autoplaylist : ("Y"=="Y"), //disableComments : ("N"=="Y"), disableComments : true, currentTime : new Date("Mon, 20 May 2013 23:48:27 -0400"), searchKeywordCategories : ["mlbtax_key", "team_id", "player_id", "game_pk"], metafileDir : "/gen/multimedia/detail", flvPlayer : {width:640, height:360}, searchServiceUrl : "/ws/search/MediaSearchService", // index : {itemsPerPage:parseInt("12"), maxItems:parseInt("200")}, debugMode : ("false"=="true") } // define playback scenario priority for smartphone/tablet devices if (bam.env.client.isIPhone) { vppConfig.clipManager = { psKeys : ["HTTP_CLOUD_MOBILE"] }; } else if (bam.env.client.isIPad || bam.env.client.isXoom) { vppConfig.clipManager = { psKeys : ["HTTP_CLOUD_TABLET"] }; } bam.media.vpp.configure(vppConfig); })(this, this.document, this.jQuery, this.bam); $(document).ready(function(){ function loadSearchResultsAndInit(){ var indexSearchQuery = "src=vpp", useContentKeywords = false; if ("SD@LAD: Padres plate a pair on surprise steal of home"!=="" && "false"==="true"){ // if valid content Id && default topic useContentKeywords = true; } else { // invalid content id, or custom topic (supplementing index with topical search results) indexSearchQuery += "&mmtax_key=klondike&mlbtax=vtp_klondike&op=or&sort=desc&sort_type=date"; // use search query from topic config } // if no custom serach params were passed, force generic search if (!indexSearchQuery){ indexSearchQuery += "&text=highlight"; } // always add hitsPerPage params @TODO consider loading by itemsPerPage instead indexSearchQuery += "&hitsPerPage=200"; bam.media.vpp.loadSearchResults({ searchParams : indexSearchQuery, contentId : "23042581", useContentKeywords : useContentKeywords, callback : bam.media.vpp.init // initialize after search results are loaded }); } // initialize vpp loadSearchResultsAndInit(); });
bam.media.browseModule.bind("init.success", function(){ var $defaultTopic; $defaultTopic = $("#videoBrowseNav ul li a[rel='vtp_klondike']"); if (!$defaultTopic.length){ $defaultTopic = $("#videoBrowseNav ul li:first a"); } // get the first topic in the list if the top nav item is a category if($defaultTopic.length > 1 && $defaultTopic.closest("li").hasClass("category")) { $defaultTopic = $("#videoBrowseNav ul li.category:first ul li:first a"); } bam.media.browseModule.selectTopic.call($defaultTopic, true); $("li.category:contains('Dodgers Media Network')").addClass("selected"); }); bam.media.browseModule.bind("topicSelected",function(event,topicText){ $("#videoBrowseLabel strong").html(topicText); });
if (section=="gameday" || section=="homepage" || section=="multimedia" || section=="news") { var _sf_mlb_sec = (section=="gameday")?"gd":(section=="homepage")?"hp":(section=="multimedia")?"mm":(section=="news")?"news":""; var _sf_async_config={}; // curfour article only var isCutFourArticle = (window.location.pathname === '/cutfour/index.jsp' && window.location.hash !== "") ? true : false; /** CONFIGURATION START **/ _sf_async_config.uid = 43794; _sf_async_config.domain = "mlb.com"; _sf_async_config.sections = _sf_mlb_sec+","+page_id;//CHANGE THIS _sf_async_config.authors = club; //CHANGE THIS bam.CBTrackingOnLoad = true; if (bam.url.parseQueryParameters().content_id || bam.url.parseQueryParameters().topic_id) { _sf_async_config.useCanonical = false; _sf_async_config.path = window.location.pathname; if (bam.url.parseQueryParameters().content_id) { _sf_async_config.path = _sf_async_config.path + "?content_id=" + bam.url.parseQueryParameters().content_id; } if (bam.url.parseQueryParameters().topic_id) { _sf_async_config.path = _sf_async_config.path + "&topic_id=" + bam.url.parseQueryParameters().topic_id; } if (bam.url.parseQueryParameters().c_id) { _sf_async_config.path = _sf_async_config.path + "&c_id=" + bam.url.parseQueryParameters().c_id; } } /** CONFIGURATION END **/ if (bam && bam.CBTrackingOnLoad) { (function(){ function loadChartbeat() { window._sf_endpt=(new Date()).getTime(); var e = document.createElement('span style=visibility:hidden'); e.setAttribute('language', 'javaspan style=visibility:hidden'); e.setAttribute('type', 'text/javaspan style=visibility:hidden'); e.setAttribute('src', (('https:' == document.location.protocol) ? 'https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/' : 'http://static.chartbeat.com/') + 'js/chartbeat.js'); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != 'function') ? loadChartbeat : function() { oldonload(); loadChartbeat(); }; })(); } }