hi everyone, i am a frustrated web designer who never had to deal with WMP!!!
but the time came and i have to deal with it now!
i am working on a site where i have to link live streaming video to the site from live locations.....now i have the player in place and linked the source the guy from the live location gave me.
this is the code i used (i put in the whole thing so in case i am missing something) also please note that the source is not live anymore so it will not work, but if you can still see why it didn't...that would be nice, i know that the source was ok because the guy told me that they are viewing it from 3 computers...so here it is...i made the WMP code bold but please look if i missed something on the whole page:
<html>
<head>
<title>view movie</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
//-->
</script>
</head>
<body bgcolor="#FFFFCC" text="663333" link="#CC3333" vlink="FBB438" alink="#E0DFE3" topmargin="0">
<style type="text/css">
body {background-color: transparent}
</style>
<style>
BODY{
scrollbar-face-color:#CC3333;
scrollbar-shadow-color:#DDC856;
scrollbar-3dlight-color:#DDC856;
scrollbar-arrow-color:#ffffcc;
scrollbar-base-color:#DDC856;
scrollbar-darkshadow-color:#000000;
scrollbar-highlight-color:#DDC856;
scrollbar-track-color:#FFFFCC;
}
</style>
<div align="center">
<table width="449" height="252" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="2394" height="252" align="center" valign="top"><p><font size="2" face="Arial">Your Are Watching:<font size="3"><i> TEST MOVIE</i><br>
</font></font>
<OBJECT ID="MediaPlayer" WIDTH=358 HEIGHT=272 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/a...cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<PARAM NAME="test" VALUE="http://pointers.audiovideoweb....ve/va92winlive2076.asx">
<PARAM NAME="ShowControls" VALUE="0">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="1">
<PARAM NAME="StretchToFit" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/downl...38d4d8&DisplayLang=en/"
filename="test"
src="http://pointers.audiovideoweb....ve/va92winlive2076.asx"
Name=MediaPlayer
ShowControls=1
ShowDisplay=0
ShowStatusBar=1
stretchToFit="True"
width=358
height=272>
</embed></object>
</table>
</div>
</body>
</html>
also i have another question: i am trying to customize this player but no matter what para name code i put in it won't change a thing!
and i am also trying to see if the controller color could be changed or the buttons and how to add a fullscreen toggle button...is that possible????
thank you so much in advance...i hope someone can point me to the error and tell me how to fix it! thx!!!!
but the time came and i have to deal with it now!
i am working on a site where i have to link live streaming video to the site from live locations.....now i have the player in place and linked the source the guy from the live location gave me.
this is the code i used (i put in the whole thing so in case i am missing something) also please note that the source is not live anymore so it will not work, but if you can still see why it didn't...that would be nice, i know that the source was ok because the guy told me that they are viewing it from 3 computers...so here it is...i made the WMP code bold but please look if i missed something on the whole page:
<html>
<head>
<title>view movie</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
//-->
</script>
</head>
<body bgcolor="#FFFFCC" text="663333" link="#CC3333" vlink="FBB438" alink="#E0DFE3" topmargin="0">
<style type="text/css">
body {background-color: transparent}
</style>
<style>
BODY{
scrollbar-face-color:#CC3333;
scrollbar-shadow-color:#DDC856;
scrollbar-3dlight-color:#DDC856;
scrollbar-arrow-color:#ffffcc;
scrollbar-base-color:#DDC856;
scrollbar-darkshadow-color:#000000;
scrollbar-highlight-color:#DDC856;
scrollbar-track-color:#FFFFCC;
}
</style>
<div align="center">
<table width="449" height="252" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="2394" height="252" align="center" valign="top"><p><font size="2" face="Arial">Your Are Watching:<font size="3"><i> TEST MOVIE</i><br>
</font></font>
<OBJECT ID="MediaPlayer" WIDTH=358 HEIGHT=272 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/a...cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<PARAM NAME="test" VALUE="http://pointers.audiovideoweb....ve/va92winlive2076.asx">
<PARAM NAME="ShowControls" VALUE="0">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="1">
<PARAM NAME="StretchToFit" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/downl...38d4d8&DisplayLang=en/"
filename="test"
src="http://pointers.audiovideoweb....ve/va92winlive2076.asx"
Name=MediaPlayer
ShowControls=1
ShowDisplay=0
ShowStatusBar=1
stretchToFit="True"
width=358
height=272>
</embed></object>
</table>
</div>
</body>
</html>
also i have another question: i am trying to customize this player but no matter what para name code i put in it won't change a thing!
and i am also trying to see if the controller color could be changed or the buttons and how to add a fullscreen toggle button...is that possible????
thank you so much in advance...i hope someone can point me to the error and tell me how to fix it! thx!!!!