PDA

View Full Version : Thome HR Video Highlight (5/4/06)


BLRMKRdave
05-04-2006, 08:46 PM
Looking for video Home Run replay of Thome's blast today. They had a 3rd base view of his swing and I would like to get some sequential screen shots of his swing. For some reason not able to Copy/Paste screenshot from MLB site. Any help with this is appreciated.

~BLRMKRdave

HitMan_naMtiH
05-05-2006, 11:45 AM
i can see if i can get it..if its on mlb.com makes it hard to read/take the code!!

if you wanna example here is the joe crede video highlight of today:
<div id="videoBaseline"><table class="primaryBg">
<tr>
<td width="300" height="68">&nbsp;</td>
</tr>
</table></div>
<script type="text/javascript">
function getPageCoords(element) {
var coords = {x: 0, y: 0};
while (element) {
coords.x += element.offsetLeft;
coords.y += element.offsetTop;
element = element.offsetParent;
}
return coords;
}


v_width=300;
v_height=320;
maskPoint = 251;
videoDivX=474;
videoDivY=193;

function maskVideo(action){
if(action=="hide"){
document.getElementById("floatVideo").style.clip="rect("+maskPoint+"px "+v_width+"px "+v_height+"px 0px)";
} else {
document.getElementById("floatVideo").style.clip="rect(0px "+v_width+"px "+v_height+"px 0px)";
}
}

function setAutoplayCookie(myArg){
SetCookie("autoplay", myArg, 360, "/", ".mlb.com");
if(myArg=="no"){ trackFlash("disable_video"); } else { trackFlash("enable_video"); }
}
function getAutoplayVal(){
if( GetCookie("autoplay") == "no") { return "no"; } else { return "yes"; }
}
if(isDOM){
var vbaseline = document.getElementById("videoBaseline");
var vPos = getPageCoords(vbaseline);

version = 2;

video_xml_server = "gdx.mlb.com"
var betatest_vp = document.URL.toLowerCase();
var checkProd_vp = (betatest_vp.indexOf("beta.mlb")==-1) ? true : false;
if(checkProd_vp) { video_xml_server="gdx.mlb.com" } else { video_xml_server="beta.mlb.com" }

vid_club_name="White Sox"

//remove spaces
club_nospace = "";
splitstring = vid_club_name.split(" ");
for(i = 0; i < splitstring.length; i++){ club_nospace += splitstring[I].toLowerCase(); }
vid_club_name = club_nospace;


param = "&cid=cws"
param += "&teamBgColor=#000000"
param += "&clipVideoOff=javascript:maskVideo('hide');"
param += "&clipVideoOn=javascript:maskVideo('show');"
param += "&enableTracking=yes"
param += "&autoPlay=yes"
param += "&drawerTimer=8000"
param += "&popTimerSeconds=12"

param += "&promoClip=/flash/team_video/team_promo.swf"
param += "&promoTimerHours=12"
param += "&promoEnabled="+getAutoplayVal();

param += "&adTimerHours=6"
param += "&adEnabled=yes"
param += "&dClick=yes";
param += "&adURL=http://ad.doubleclick.net/ad/"+vid_club_name+".mlb/homepage;pos=1;sz=240x180;tile=1;ord=1;"
//param += "&adURL=http://beta.mlb.com/flash/ads/dhl_240x180.swf?clickTag=http://www.dhl.com"

param += "&xmlDir=http://"+video_xml_server+"/flash/team_video/xml/cws_video.xml"
param += "&macPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&winPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&wrapper=1"

document.write('<div id="floatVideo" name="floatVideo" style="position: absolute; clip: rect('+maskPoint+'px '+v_width+'px '+v_height+'px 0px); z-index:100; top:'+videoDivY+'px; left:'+videoDivX+'px; width:'+v_width+'px; height:'+v_height+'px; visibility:visible; display:block">');
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 (http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0)" width="'+v_width+'" height="'+v_height+'" id="ps_scoreboard" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="/flash/team_video/team_video_v2.swf?v=' + version + param +'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#000000" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="/flash/team_video/team_video_v2.swf?v='+version+param+'" quality="high" bgcolor="#000000" width="'+v_width+'" height="'+v_height+'" wmode="transparent" name="ps_scoreboard" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer (http://www.macromedia.com/go/getflashplayer)" />');
document.write('</object>');
document.write('</div>');
}
</script>
</div>
<div style="border-top:1px solid #fff; background:#ccc">

<div style="padding-top:2px; text-align:center">

BRDSR
05-05-2006, 12:02 PM
i can see if i can get it..if its on mlb.com makes it hard to read/take the code!!

if you wanna example here is the joe crede video highlight of today:
<div id="videoBaseline"><table class="primaryBg">
<tr>
<td width="300" height="68">&nbsp;</td>
</tr>
</table></div>
<script type="text/javascript">
function getPageCoords(element) {
var coords = {x: 0, y: 0};
while (element) {
coords.x += element.offsetLeft;
coords.y += element.offsetTop;
element = element.offsetParent;
}
return coords;
}


v_width=300;
v_height=320;
maskPoint = 251;
videoDivX=474;
videoDivY=193;

function maskVideo(action){
if(action=="hide"){
document.getElementById("floatVideo").style.clip="rect("+maskPoint+"px "+v_width+"px "+v_height+"px 0px)";
} else {
document.getElementById("floatVideo").style.clip="rect(0px "+v_width+"px "+v_height+"px 0px)";
}
}

function setAutoplayCookie(myArg){
SetCookie("autoplay", myArg, 360, "/", ".mlb.com");
if(myArg=="no"){ trackFlash("disable_video"); } else { trackFlash("enable_video"); }
}
function getAutoplayVal(){
if( GetCookie("autoplay") == "no") { return "no"; } else { return "yes"; }
}
if(isDOM){
var vbaseline = document.getElementById("videoBaseline");
var vPos = getPageCoords(vbaseline);

version = 2;

video_xml_server = "gdx.mlb.com"
var betatest_vp = document.URL.toLowerCase();
var checkProd_vp = (betatest_vp.indexOf("beta.mlb")==-1) ? true : false;
if(checkProd_vp) { video_xml_server="gdx.mlb.com" } else { video_xml_server="beta.mlb.com" }

vid_club_name="White Sox"

//remove spaces
club_nospace = "";
splitstring = vid_club_name.split(" ");
for(i = 0; i < splitstring.length; i++){ club_nospace += splitstring[I].toLowerCase(); }
vid_club_name = club_nospace;


param = "&cid=cws"
param += "&teamBgColor=#000000"
param += "&clipVideoOff=javascript:maskVideo('hide');"
param += "&clipVideoOn=javascript:maskVideo('show');"
param += "&enableTracking=yes"
param += "&autoPlay=yes"
param += "&drawerTimer=8000"
param += "&popTimerSeconds=12"

param += "&promoClip=/flash/team_video/team_promo.swf"
param += "&promoTimerHours=12"
param += "&promoEnabled="+getAutoplayVal();

param += "&adTimerHours=6"
param += "&adEnabled=yes"
param += "&dClick=yes";
param += "&adURL=http://ad.doubleclick.net/ad/"+vid_club_name+".mlb/homepage;pos=1;sz=240x180;tile=1;ord=1;"
//param += "&adURL=http://beta.mlb.com/flash/ads/dhl_240x180.swf?clickTag=http://www.dhl.com"

param += "&xmlDir=http://"+video_xml_server+"/flash/team_video/xml/cws_video.xml"
param += "&macPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&winPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&wrapper=1"

document.write('<div id="floatVideo" name="floatVideo" style="position: absolute; clip: rect('+maskPoint+'px '+v_width+'px '+v_height+'px 0px); z-index:100; top:'+videoDivY+'px; left:'+videoDivX+'px; width:'+v_width+'px; height:'+v_height+'px; visibility:visible; display:block">');
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 (http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0)" width="'+v_width+'" height="'+v_height+'" id="ps_scoreboard" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="/flash/team_video/team_video_v2.swf?v=' + version + param +'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#000000" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="/flash/team_video/team_video_v2.swf?v='+version+param+'" quality="high" bgcolor="#000000" width="'+v_width+'" height="'+v_height+'" wmode="transparent" name="ps_scoreboard" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer (http://www.macromedia.com/go/getflashplayer)" />');
document.write('</object>');
document.write('</div>');
}
</script>
</div>
<div style="border-top:1px solid #fff; background:#ccc">

<div style="padding-top:2px; text-align:center">

:?:

Never has one these faces been more appropriate than when an English/Poli Sci major reads that:

lumpyspun
05-05-2006, 12:08 PM
i can see if i can get it..if its on mlb.com makes it hard to read/take the code!!

if you wanna example here is the joe crede video highlight of today:
<div id="videoBaseline"><table class="primaryBg">
<tr>
<td width="300" height="68">&nbsp;</td>
</tr>
</table></div>
<script type="text/javascript">
function getPageCoords(element) {
var coords = {x: 0, y: 0};
while (element) {
coords.x += element.offsetLeft;
coords.y += element.offsetTop;
element = element.offsetParent;
}
return coords;
}


v_width=300;
v_height=320;
maskPoint = 251;
videoDivX=474;
videoDivY=193;

function maskVideo(action){
if(action=="hide"){
document.getElementById("floatVideo").style.clip="rect("+maskPoint+"px "+v_width+"px "+v_height+"px 0px)";
} else {
document.getElementById("floatVideo").style.clip="rect(0px "+v_width+"px "+v_height+"px 0px)";
}
}

function setAutoplayCookie(myArg){
SetCookie("autoplay", myArg, 360, "/", ".mlb.com");
if(myArg=="no"){ trackFlash("disable_video"); } else { trackFlash("enable_video"); }
}
function getAutoplayVal(){
if( GetCookie("autoplay") == "no") { return "no"; } else { return "yes"; }
}
if(isDOM){
var vbaseline = document.getElementById("videoBaseline");
var vPos = getPageCoords(vbaseline);

version = 2;

video_xml_server = "gdx.mlb.com"
var betatest_vp = document.URL.toLowerCase();
var checkProd_vp = (betatest_vp.indexOf("beta.mlb")==-1) ? true : false;
if(checkProd_vp) { video_xml_server="gdx.mlb.com" } else { video_xml_server="beta.mlb.com" }

vid_club_name="White Sox"

//remove spaces
club_nospace = "";
splitstring = vid_club_name.split(" ");
for(i = 0; i < splitstring.length; i++){ club_nospace += splitstring[I].toLowerCase(); }
vid_club_name = club_nospace;


param = "&cid=cws"
param += "&teamBgColor=#000000"
param += "&clipVideoOff=javascript:maskVideo('hide');"
param += "&clipVideoOn=javascript:maskVideo('show');"
param += "&enableTracking=yes"
param += "&autoPlay=yes"
param += "&drawerTimer=8000"
param += "&popTimerSeconds=12"

param += "&promoClip=/flash/team_video/team_promo.swf"
param += "&promoTimerHours=12"
param += "&promoEnabled="+getAutoplayVal();

param += "&adTimerHours=6"
param += "&adEnabled=yes"
param += "&dClick=yes";
param += "&adURL=http://ad.doubleclick.net/ad/"+vid_club_name+".mlb/homepage;pos=1;sz=240x180;tile=1;ord=1;"
//param += "&adURL=http://beta.mlb.com/flash/ads/dhl_240x180.swf?clickTag=http://www.dhl.com"

param += "&xmlDir=http://"+video_xml_server+"/flash/team_video/xml/cws_video.xml"
param += "&macPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&winPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&wrapper=1"

document.write('<div id="floatVideo" name="floatVideo" style="position: absolute; clip: rect('+maskPoint+'px '+v_width+'px '+v_height+'px 0px); z-index:100; top:'+videoDivY+'px; left:'+videoDivX+'px; width:'+v_width+'px; height:'+v_height+'px; visibility:visible; display:block">');
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 (http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0)" width="'+v_width+'" height="'+v_height+'" id="ps_scoreboard" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="/flash/team_video/team_video_v2.swf?v=' + version + param +'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#000000" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="/flash/team_video/team_video_v2.swf?v='+version+param+'" quality="high" bgcolor="#000000" width="'+v_width+'" height="'+v_height+'" wmode="transparent" name="ps_scoreboard" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer (http://www.macromedia.com/go/getflashplayer)" />');
document.write('</object>');
document.write('</div>');
}
</script>
</div>
<div style="border-top:1px solid #fff; background:#ccc">

<div style="padding-top:2px; text-align:center">

Post of the Week...Hands Down!

HitMan_naMtiH
05-05-2006, 12:13 PM
:D: ...i took programming classes in college and recognize some of the code.. i can usually rip other vid clips... but i cant really read the code of the macro mediaflash player mlb.com uses because its almost a program in and of itself...as you can see it has many options such as the game schedule of the day and vid clips and other things..so you should probably see if they have that thome vid clip elsewhere!

Unregistered
05-05-2006, 12:14 PM
i can see if i can get it..if its on mlb.com makes it hard to read/take the code!!

if you wanna example here is the joe crede video highlight of today:
<div id="videoBaseline"><table class="primaryBg">
<tr>
<td width="300" height="68">&nbsp;</td>
</tr>
</table></div>
<script type="text/javascript">
function getPageCoords(element) {
var coords = {x: 0, y: 0};
while (element) {
coords.x += element.offsetLeft;
coords.y += element.offsetTop;
element = element.offsetParent;
}
return coords;
}


v_width=300;
v_height=320;
maskPoint = 251;
videoDivX=474;
videoDivY=193;

function maskVideo(action){
if(action=="hide"){
document.getElementById("floatVideo").style.clip="rect("+maskPoint+"px "+v_width+"px "+v_height+"px 0px)";
} else {
document.getElementById("floatVideo").style.clip="rect(0px "+v_width+"px "+v_height+"px 0px)";
}
}

function setAutoplayCookie(myArg){
SetCookie("autoplay", myArg, 360, "/", ".mlb.com");
if(myArg=="no"){ trackFlash("disable_video"); } else { trackFlash("enable_video"); }
}
function getAutoplayVal(){
if( GetCookie("autoplay") == "no") { return "no"; } else { return "yes"; }
}
if(isDOM){
var vbaseline = document.getElementById("videoBaseline");
var vPos = getPageCoords(vbaseline);

version = 2;

video_xml_server = "gdx.mlb.com"
var betatest_vp = document.URL.toLowerCase();
var checkProd_vp = (betatest_vp.indexOf("beta.mlb")==-1) ? true : false;
if(checkProd_vp) { video_xml_server="gdx.mlb.com" } else { video_xml_server="beta.mlb.com" }

vid_club_name="White Sox"

//remove spaces
club_nospace = "";
splitstring = vid_club_name.split(" ");
for(i = 0; i < splitstring.length; i++){ club_nospace += splitstring[I].toLowerCase(); }
vid_club_name = club_nospace;


param = "&cid=cws"
param += "&teamBgColor=#000000"
param += "&clipVideoOff=javascript:maskVideo('hide');"
param += "&clipVideoOn=javascript:maskVideo('show');"
param += "&enableTracking=yes"
param += "&autoPlay=yes"
param += "&drawerTimer=8000"
param += "&popTimerSeconds=12"

param += "&promoClip=/flash/team_video/team_promo.swf"
param += "&promoTimerHours=12"
param += "&promoEnabled="+getAutoplayVal();

param += "&adTimerHours=6"
param += "&adEnabled=yes"
param += "&dClick=yes";
param += "&adURL=http://ad.doubleclick.net/ad/"+vid_club_name+".mlb/homepage;pos=1;sz=240x180;tile=1;ord=1;"
//param += "&adURL=http://beta.mlb.com/flash/ads/dhl_240x180.swf?clickTag=http://www.dhl.com"

param += "&xmlDir=http://"+video_xml_server+"/flash/team_video/xml/cws_video.xml"
param += "&macPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&winPlayer=/flash/team_video/flvPlayer.swf?v="+version;
param += "&wrapper=1"

document.write('<div id="floatVideo" name="floatVideo" style="position: absolute; clip: rect('+maskPoint+'px '+v_width+'px '+v_height+'px 0px); z-index:100; top:'+videoDivY+'px; left:'+videoDivX+'px; width:'+v_width+'px; height:'+v_height+'px; visibility:visible; display:block">');
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 (http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0)" width="'+v_width+'" height="'+v_height+'" id="ps_scoreboard" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="/flash/team_video/team_video_v2.swf?v=' + version + param +'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#000000" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="/flash/team_video/team_video_v2.swf?v='+version+param+'" quality="high" bgcolor="#000000" width="'+v_width+'" height="'+v_height+'" wmode="transparent" name="ps_scoreboard" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer (http://www.macromedia.com/go/getflashplayer)" />');
document.write('</object>');
document.write('</div>');
}
</script>
</div>
<div style="border-top:1px solid #fff; background:#ccc">

<div style="padding-top:2px; text-align:center">You're out of your mind. Just right-click the highlight and go to "properties." It should display the link it's reading from in the player.

HitMan_naMtiH
05-05-2006, 12:20 PM
You're out of your mind. Just right-click the highlight and go to "properties." It should display the link it's reading from in the player.
ok try it then and see what happens...you need the source code

NonetheLoaiza
05-05-2006, 01:03 PM
Ok, everyone needs to stop copying the entire quote of his post. It took me 30 minutes to scroll all the way down...:D:

Unregistered
05-05-2006, 01:09 PM
ok try it then and see what happens...you need the source codeHere you go, webmaster. :wink:

Linky (mms://a1503.v108692.c10869.g.vm.akamaistream.net/7/1503/10869/v0001/mlb.download.akamai.com/10869/2006/open/tp/archive05/050406_seacha_thome_hr_tp_350.wmv?media_type=wms&av_type=video&event_pk=492277&product=mlb_tp)

BLRMKRdave
05-05-2006, 01:53 PM
FOUND IT!

I tried to capture Media Player or Real Player, Why do I grab only a blank, black screenshot?
The problem is usually due to graphics hardware acceleration being used to display the image. The newer media players from Microsoft and RealNetworks are good about trying to use any graphics hardware acceleration that is available on the system. Most video capture programs used to capture video from a video camera use "hardware overlay" by default for their video preview. Note that this kind of problem affects all screen capture programs, and even the image put in the clipboard by the PrintScreen key.
The best solution is to disable hardware acceleration in the application that is playing the video, or disable hardware acceleration system wide. To disable graphics hardware acceleration globally for all applications , select Control Panel>Display>Properties>Settings>Advanced>Troubleshooting in Windows 2000 or XP, on other versions of Windows select Control Panel>System>Performance tab>Graphics>Advanced settings. In both cases slide the Hardware Acceleration slider to None.
Windows Media Player and RealNetworks Realone Player must use hardware acceleration for some media file. If you disable Hardware acceleration, they can not work well. All screen capture softwares have the same trouble.

~BLRMKRdave