var mediaCount, mediaContentId, mediaTopicId, mediaMeta; mediaContentId = '22605943'; mediaTopicId = '8879374'; mediaMeta = bam.media.getMetaData(mediaContentId); mediaMeta.headline = 'Venable's reviewed home run'; mediaImage = '' || mediaMeta.imagesByType['13']; $(function(){ bam.require(["social-1.0"], function(ctx){ new ctx.social.Lib({ title : mediaMeta.headline, url : "http://mlb.mlb.com/video/play.jsp?c_id=mlb&content_id="+mediaContentId, shorty : true }).twitter("#article-video-twitter a", { via: 'mlb', related: "mlb", tracking: {tcid: "tw_video_" + mediaContentId}, omniture: {async:{ "compName":"Article Distribution/Comments", "compActivity":"Article Video Twitter Share Click", "actionGen":true, "club": '33980296' }} }).facebook("#article-video-facebook a", { tracking: {tcid: "fb_video_" + mediaContentId}, omniture: {async:{ "compName":"Article Distribution/Comments", "compActivity":"Article Video Facebook Share Click", "actionGen":true, "club": '33980296' }} }).email("#article-video-email a", { type: "media", params: { content_id: mediaContentId } }); }); }); function collapsePlayer(){ $("#article-video-flv").css({"width":"1px","height":"1px","top":"0","background-color":"none","border-bottom":"none"}); } $('#article-video-play').click(function(){ playVideo(); }); function playVideo(vFile) { // track click bam.tracking.track({ async:{ isDynamic : false, compName : "Embedded Article Page Video", compActivity : "Article Main Video Click", actionGen : true } }); $("#article-video-flv").css({"width":"640px","height":"360px","top":"0","background-color":"#000000","border-bottom":"1px solid #000000"}); var vurl, vcontent_id, vduration; vurl = 'http://mediadownloads.mlb.com/mlbam/2012/06/26/mlbtv_sdnhou_22605943_1200K.mp4'; vcontent_id = '22605943'; vduration = '00:03:18'; /* if (bam.env && bam.env.client && bam.env.client.isIPad) */ articleFlvPlayer.startPlaylist([{type:"video", path:vurl, content_id:vcontent_id, duration: bam.media.getDurationInSeconds(vduration)}]); // track playback start bam.tracking.track({ async_media:{ mediaID : vcontent_id+"|FLASH_1200K_640X360", playerType : "Flash", playerContext : "Embedded Article Player", playerFlavor : "MLB Article", contextVersion : "3.0", streamType : "Progressive Download", bitRate : "1200K" } }); 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-video-flv", playerContext: "Embedded Article Player", pageComponent: "article_embed", 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-video-thumb').html(''); $('#article-video-headline').prepend(mediaMeta.headline); if (mediaMeta.duration!='00:00:00') { $('#article-video-duration').html(mediaMeta.duration); } $('#article-video-bigBlurb').html(mediaMeta.bigBlurb); });

HOUSTON -- Will Venable hit his sixth homer of the season in the third inning, a solo shot to right field, but it took him a couple minutes to reach home plate after umpires originally ruled the hit a triple.

Venable's line drive off Astros starter Jordan Lyles floated over right fielder Brian Bogusevic's head, hitting off a fan's arms and bouncing back into the field of play. Venable stopped at third base.

Padres manager Bud Black came out of the dugout to argue the call with second-base umpire and crew chief Derryl Cousins. The umpires agreed to look at the hit on video review and overturned the original decision.

Venable jogged home from third, giving the Padres a 1-0 lead.