Even without Wells, Jays have top power duo White Sox, Cards, Yanks challenge for leading home run tandem
'); relatedMediaItem.appendTo('#article_media_related ul'); } } } function collapsePlayer(){ $("#article_flv_player").css({"width":"1px","height":"1px","background-color":"none"}); } function playVideo(vFile) { // track click bam.tracking.track({ async:{ isDynamic : false, compName : "Embedded Article Page Video", compActivity : "Article Main Video Click", actionGen : true } }); $("#article_flv_player").css({"width":"640px","height":"360px","background-color":"#000000","text-align":"center"}); var vurl, vcontent_id, vduration; vurl = 'http://mediadownloads.mlb.com/mlbam/2010/09/30/mlbtv_12404949_1m.mp4'; vcontent_id = '12404949'; vduration = '00:02:19'; if (bam.env && bam.env.client && bam.env.client.isIPad){ articleFlvPlayer.startPlaylist([{type:"video", path:vurl}]); } else { articleFlvPlayer.startPlaylist([ {type:'freewheelAd', content_id:vcontent_id, duration:bam.media.getDurationInSeconds(vduration)}, {type:"video", path:vurl} ]); } // track playback start bam.tracking.track({ async_media:{ mediaID : vcontent_id+"|FLASH_1000K_640X360", playerType : "Flash", playerContext : "Embedded Article Player", playerFlavor : "MLB Article", contextVersion : "3.0", streamType : "Progressive Download", bitRate : "1000K" } }); return false; } var articleFlvPlayer = new bam.FlvPlayer({ skin : "/flash/video/y2010/mlb_article_page2010.swf", hideControls: false, self: "articleFlvPlayer", elemId: "flashPlayer", height: 360, width: 640, containerId: "article_flv_player", playerContext: "Embedded Article Player", defaultVolume: 35, autoPlay: false, onPlayerLoaded : function(){ bam.tracking.track({ async:{ isDynamic : false, compName : "Embedded Article Page Video", compActivity : "Embedded Article Video Impression", actionGen : false } }); }, onCollapse : function(){collapsePlayer();}, onPlaylistComplete: function(){ collapsePlayer(); bam.tracking.track({videoComplete:{playerContext:"Embedded Article Player"}}); } }); $(function(){ $('#article_media_thumb').html(''); $('#article_media_headline').html(mediaMeta.headline); if (mediaMeta.duration!='00:00:00') { $('#article_media_duration').html(mediaMeta.duration); } $('#article_media_bigBlurb').html(mediaMeta.bigBlurb); loadKeywords(mediaMeta); $('#article_body p:lt(3)').insertBefore($('#article_media')); $('#article_media.embedded_video').css({"width":"640px","float":"none"}); $('#article_media.embedded_video').animate({height:360,opacity:1},{duration:2000}); });