Can anyone help? I'm trying to save a highlight video from dodgers.com. It opens a Windows Media player embedded in the window.
This is what I'm looking at right now.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Major League Baseball : MLB.com Media Player</title>
<style>
body{margin:0;background-color:#006;}
.title {font-family:arial; font-size:10px; color:#FFBE3C; padding:0 5px;}
.btn_playerctrls {font-family:arial; font-size:9px; color:#fff; padding:0 6px 0 0; cursor:pointer;}
</style>
<script src="/scripts/global.js" type="text/javascript"></script>
<script>
var _media_params=window.top.params;
var d = (document.location.href.substr(0,18)=="http://www.mlb.com") ? "http://mlb.mlb.com" : "";
var cfurl = d+"/NASApp/mlb/mlb/mediaplayer/context.jsp";
function init(){document.getElementById('contextframe').src = cfurl;}
function show_fullscreen_btn(){document.getElementById("btn_fullscreen").style.visibility="visible";}
cfurl += (_media_params.pid) ? "?pid="+ _media_params.pid : "";
cfurl += (_media_params.gid) ? "&gid="+ escape(_media_params.gid) : "";
cfurl += (_media_params.fid) ? "&fid="+ escape(_media_params.fid) : "";
cfurl += (_media_params.curl) ? "&curl="+ escape(_media_params.curl) : "";
window.onload=init;
</script>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="/images/mediaplayer/y2004/player_top_border.gif" alt="" width="331" height="6" border="0"></td>
<td rowspan="5" width="5" background="/images/mediaplayer/y2004/skin_bg_light.gif"></td>
<td rowspan="5" width="303"><iframe src="about:blank" name="contextframe" id="contextframe" width="303" height="340" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe></td>
</tr>
<tr>
<td width="6" rowspan="3" background="/images/mediaplayer/y2004/player_left_border.gif"></td>
<td width="319" height="27"><div class="title" id="media_title"></div></td>
<td width="6" rowspan="3" background="/images/mediaplayer/y2004/player_right_border.gif"></td>
</tr>
<tr>
<td width="319" height="280">
<iframe src="/NASApp/mlb/scripts/mediaPlayer_iframe.jsp?format=w&media_url=mms%3A%2F%2Fa1503.v108692.c10869.g.vm.akamaistream.net%2F7%2F1503%2F10869%2Fv0001%2Fmlb.download.akamai.com%2F10869%2F2004%2Fopen%2Fpog%2Farchive08%2F082904_lannyn_pog_350.wmv%3Fct1%3Dmlb" name="playerframe" id="playerframe" width="319" height="280" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe>
</td>
</tr>
<tr>
<td width="319" height="20" align="right">
<span class='btn_playerctrls' id='btn_fullscreen' onClick='playerframe.enableFullScreen();' style="visibility:hidden;"><img src='/images/mediaplayer/y2004/blue_button.gif' alt='' width='13' height='11' border='0'>FULL SCREEN</span>
<span class="btn_playerctrls" id="btn_preferences" onClick="window.top.getMediaPref('clear');"><img src="/images/mediaplayer/y2004/blue_button.gif" alt="" width="13" height="11" border="0">PREFERENCES</span></a>
</td>
</tr>
<tr>
<td colspan="3"><img src="/images/mediaplayer/y2004/player_bottom_border.gif" alt="" width="331" height="6" border="0"></td>
</tr>
</table>
<script type="text/javascript" src="http://mlb.mlb.com/scripts/tracking_arrays.js"></script>
<script type="text/javascript">
var page_id_prefix = (_media_params.gid)?_media_params.gid:"gen_av";
var section_id = (isAudioProd(_media_params.pid)) ? "audio" : "video";
var club = "mlb";
var section = "mediaplayer_"+section_id;
var page_id = page_id_prefix + ((_media_params.fid) ? "_"+_media_params.fid : "");
var thisURL = document.URL.toLowerCase();
var isProd = (thisURL.indexOf("beta.mlb")==-1) ? true : false;
var prefix = isProd ? "" : "dev";
var s_account = prefix + "mlbglobal," + prefix + "mlb" + om_tracking_vars[club][0];
var s_linkInternalFilters = "javascript:,.,/";
if ( isProd ) {
s_linkInternalFilters = "javascript:," + om_tracking_vars[club][1];
if (om_tracking_vars[club][2] != null) s_linkInternalFilters = s_linkInternalFilters + "," + om_tracking_vars[club][2];
s_linkInternalFilters += ",/";
}
var s_channel = section;
var s_prop1 = page_id;
var s_prop5 = (typeof s_prop22 == "undefined") ? "" : s_prop1 + "&" + s_prop22;
var s_pageName=""; var s_server=""; var s_pageType=""; var s_prop2=""; var s_prop3=""; var s_prop4="";
var s_campaign=""; var s_state=""; var s_zip=""; var s_events=""; var s_products=""; var s_eVar1="";
if (typeof s_purchaseID == "undefined") var s_purchaseID = "";
var file_name = thisURL.indexOf("/nasapp/mlb") + 12;
if (file_name != 11) s_pageName = thisURL.slice(file_name);
</script>
<span onclick="var list='';for (var param in _media_params){list+=param+'='+_media_params[param]+'\n\n';}alert(list);"> </span>
<div style="position:absolute;top;left:0;z-index:1000;width:1px;height:1px;clip:rect(0,1,1,0);">
<script type="text/javascript" src="http://mlb.mlb.com/scripts/s_code_remote.js"></script>
</div>
</body>
</html>
I tried copying the "mms%3A%2F%2Fa1503.v108692.c10869.g.vm.akamaistream.net%2F7%2F1503%2F10869%2Fv0001%2Fmlb.download.akamai.com%2F10869%2F2004%2Fopen%2Fpog%2Farchive08%2F082904_lannyn_pog_350.wmv%3Fct1%3Dmlb" part into the "open URL" in WMP and got an error saying it can't find the specifed location.
You can see the window it opens in by going to
http://losangeles.dodgers.mlb.com/NASApp/mlb/index.jsp and page through the headline window up top and see
and clicking "Plays of the Game"
Or here:
http://mlb.mlb.com/NASApp/mlb/mlb/video/daily.jspand click on "Plays of the Game: for LA@NYM 08/29/04
I know you guys can figure this out
(17 Grand Slams! Amazing! Everyone should watch. :wink:)