Irish Witch
09-17-2005, 04:44 AM
Probably a simple task but not as simple as I thought.
I have a page set up using two frames with the classic setup:
<frameset cols="229,*" >
<frame name="contents" target="main" src="filelist.html" scrolling="no" noresize>
<frame name="main" src="VideoPlayer.html">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
I want to create links in the Filelist.html that will open up video files to play in the second frame. This means the text in the second frame need to be updated dynamically to play a different file.
The video frame reads like this:
<TABLE cellSpacing=0 cellPadding=0 border=0 width="455">
<TBODY>
<TR>
<TD colSpan=3 width="473">
<p align="center"><IMG height=46 alt="" src="TV files/tv02.gif"
width=522 border=0></p>
</TD></TR>
<TR>
<TD width="93"><IMG height=240 alt="" src="TV files/tv03.gif"
width=100 border=0></TD>
<TD align="center" width="320" padding="0" bgcolor="#000000">
<OBJECT ID="mediaPlayer" width="320" height="240"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<param name="Filename" value="videos/playlist.m3u">
</OBJECT>
</TD>
<TD width="69"><IMG height=240 alt="" src="TV files/tv05.gif"
width=102 border=0></TD></TR>
<TR>
<TD colSpan=3 width="473">
<p align="center"><IMG height=46 alt="" src="TV files/tv06.gif" width=522 border=0></p>
</TD></TR></TBODY></TABLE>
the TV giff files create a frame that looks like a telivision nothing more.
What I need to update is the "Value" of the media player object and then refresh the page. The result will go on a disk of DIVX video files.
I would have asked if I could just tell the Media player object to cycle through the platlist file from the web page but something tells me that would be harder.
I have a page set up using two frames with the classic setup:
<frameset cols="229,*" >
<frame name="contents" target="main" src="filelist.html" scrolling="no" noresize>
<frame name="main" src="VideoPlayer.html">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
I want to create links in the Filelist.html that will open up video files to play in the second frame. This means the text in the second frame need to be updated dynamically to play a different file.
The video frame reads like this:
<TABLE cellSpacing=0 cellPadding=0 border=0 width="455">
<TBODY>
<TR>
<TD colSpan=3 width="473">
<p align="center"><IMG height=46 alt="" src="TV files/tv02.gif"
width=522 border=0></p>
</TD></TR>
<TR>
<TD width="93"><IMG height=240 alt="" src="TV files/tv03.gif"
width=100 border=0></TD>
<TD align="center" width="320" padding="0" bgcolor="#000000">
<OBJECT ID="mediaPlayer" width="320" height="240"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<param name="Filename" value="videos/playlist.m3u">
</OBJECT>
</TD>
<TD width="69"><IMG height=240 alt="" src="TV files/tv05.gif"
width=102 border=0></TD></TR>
<TR>
<TD colSpan=3 width="473">
<p align="center"><IMG height=46 alt="" src="TV files/tv06.gif" width=522 border=0></p>
</TD></TR></TBODY></TABLE>
the TV giff files create a frame that looks like a telivision nothing more.
What I need to update is the "Value" of the media player object and then refresh the page. The result will go on a disk of DIVX video files.
I would have asked if I could just tell the Media player object to cycle through the platlist file from the web page but something tells me that would be harder.