Guys here is what i need to do. I have a real player embedded in a webpage called videoplayer.php
Here is the code:
<html>
<head>
<title> Video Player</title>
</head>
<body bgcolor="#000000">
<div align="left">
<table border="2" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#008000" width="320" id="AutoNumber1">
<tr>
<td width="100%" height="240">
<p align="left">
<! Video Player Screen /!>
<OBJECT
ID=video1
CLASSID="clsid:CFCDAA03-8B
E4-11cf-B8
4B-0020AFB
BCCFA"
HEIGHT=240 WIDTH=320 align="left">
<PARAM NAME="controls" VALUE="ImageWindow">
<PARAM NAME="console" VALUE="Clip1">
<PARAM NAME="autostart" VALUE="-1">
<PARAM NAME="src" VALUE="rtsp://somesite.com
/smilpoint
/smilfile.
smil?rm=mo
untpoint/r
mfile.rm">
<param name="_ExtentX" value="8467">
<param name="_ExtentY" value="6350">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<EMBED SRC="rtsp://somesite.com/s
milpoint/s
milfile.sm
il?rm=moun
tpoint/rmf
ile.rm" type="audio/x-pn-realaudio
-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow"
HEIGHT=240 WIDTH=320 AUTOSTART=true></OBJECT>
</p>
</td>
</tr>
<tr>
<td width="320" height="30">
<p align="left">
<! Player Control Panel /!>
<OBJECT
ID=video1
CLASSID="clsid:CFCDAA03-8B
E4-11cf-B8
4B-0020AFB
BCCFA"
HEIGHT=30 WIDTH=320 align="left">
<PARAM NAME="controls" VALUE="ControlPanel">
<PARAM NAME="console" VALUE="Clip1">
<param name="_ExtentX" value="8467">
<param name="_ExtentY" value="794">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<EMBED type="audio/x-pn-realaudio
-plugin" CONSOLE="Clip1" CONTROLS="ControlPanel"
HEIGHT=30 WIDTH=320 AUTOSTART=true></OBJECT>
</p>
</td>
</tr>
</table>
</div>
</body>
</html>
As you can notice the real player is gona call for a file called smilfile.smil and pass the variable $rm with the value of mountpoint/rmfile.rm
Here is what he smil file looks like....
<smil xmlns="
http://www.w3.org/2001/SMIL20/Language"
>
<body>
<video src="rtsp://somesite.com/<
? echo $linkx ?>"/>
</body>
</smil>
But the variable doesnt get passed and when i run the file real player says an error such as
[rtsp://somsite.com/<? echo $linkx ?>] file not found!
I tried this but still no luck!
<smil xmlns="
http://www.w3.org/2001/SMIL20/Language"
>
<body>
<video src="rtsp://somesite.com/<
? echo $_GET['linkx']; ?>"/>
</body>
</smil>
The variable still doesnt get passed and it says an error such as
[rtsp://somsite.com/<? echo $_GET['linkx']; ?>] file not found!
I tried this but still no luck
<smil xmlns="
http://www.w3.org/2001/SMIL20/Language"
>
<body>
<video src="rtsp://somesite.com/<
?php echo $_GET['linkx']; ?>"/>
</body>
</smil>
The variable still doesnt get passed and it says an error such as
[rtsp://somsite.com/<?php echo $_GET['linkx']; ?>] file not found!
All my points for this one! Please help!