Hi,
I really need your halp as soon as possible. I want to introduce live radio streaming on my site. I had a sample code online which i tried but its not working. I will be grateful if any could study the code and help me out.
Below are the codes.
--------------------------------------------------------------------------------
This is the code for the main page that will open the pop up:
--------------------------------------------------------------------------------
This is the code in the pop up page
--------------------------------------------------------------------------------
Someone should pls correct me if i'm wrong. Thank you
I really need your halp as soon as possible. I want to introduce live radio streaming on my site. I had a sample code online which i tried but its not working. I will be grateful if any could study the code and help me out.
Below are the codes.
--------------------------------------------------------------------------------
This is the code for the main page that will open the pop up:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=385,height=260,scrollbars=no, borders=no');
return false;
}
//-->
</SCRIPT>
</head>
<body>
<a class="link" HREF="page.html"onClick="return popup(this, 'notes')">Tune In</a>
</body>
</html>
This is the code in the pop up page
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=364,height=239,scrollbars=no,border=no');
return false;
}
//-->
</SCRIPT>
</head>
<body>
<table border="0" style="border-collapse: collapse" width="100%">
<tr>
<td valign="middle">
<p align="center">
<object id="MediaPlayer" type="application/x-oleobject" height="239"
standby="Please Wait..." width="364"
classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" align="center">
<param name="URL" value="http://www.andyglo.org:21" ref>
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="240.5692404">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="50">
<param name="mute" value="0">
<param name="uiMode" value="mini">
<param name="stretchTofit" value="0">
<param name="windowlessvideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextmenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningid" value>
<param name="enableErrordialogs" value="0">
<param name="_cx" value="9631">
<param name="_cy" value="6324">
<embed src="http://www.andyglo.org:21" width="364" height="239" autostart="-1" align="center" url="http://www.andyglo.org:21" rate="1" balance="0" currentposition="240.5692404" defaultframe="value" playcount="1" currentmarker="0" invokeurls="-1" baseurl="value" volume="50" mute="0" uimode="mini" stretchtofit="0" windowlessvideo="0" enabled="-1" enablecontextmenu="-1" fullscreen="0" samistyle="value" samilang="value" samifilename="value" captioningid="value" enableerrordialogs="0" _cx="9631" _cy="6324"></embed>
</object></td>
</tr>
</table>
</body>
</html>
Someone should pls correct me if i'm wrong. Thank you
Comment