Hi

Problem:

I am previewing a PowerPoint slide show in a web page
iframe. I would like to be able to link the iframe somehow
to a database of .ppt slide shows and play any .ppt file
when I click on a presentation name hyperlink. I would
like to keep the files as .ppt if possible and not use
Windows Media Player.

Current Situation:

I have an existing website, which works well, that does
this using an older version of the windows media player
software that is not supported any more, playing .asf/.asx
files.

I click on a category of presentation, brief description
and presentation name [hyperlink] are displayed in a table
linked to a database of .asf files. When I click on the
hyperlink I get a page with more details about that slide
show and the preview of it provided by the WMPlayer.

I can replace the old player with the newer version.
However, I would like to bypass the middle stage of
converting the .ppt files to .asf format.

Can I do the same thing using iframes and have it linked
to the database?

The code below works well with the older version of WMP.

MEDIA PLAYER

<%
input1=request.querystring("asf")
input2= "<a href='PPT/" &input1 & "'>" &input1 & "</a>"
ip1=request.querystring("cat")
asfms = "http://servername.me.com/slide_manager/asf/"
&input1 & ".asx"
asfnav1 = "<embed SRC='asf/" &input1 & ".asf'
TYPE='application/x-mplayer2'"
.....
...
<object ID="MediaPlayer" WIDTH="226" HEIGHT="170"
CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject" align="right">

<param name="filename" value="<%=asfms%>">
<param name="autostart" value="true">
....

<embed TYPE="application/x-mplayer2" SRC="<%=asfms%>"
NAME="MediaPlayer"
WIDTH="226" HEIGHT="170" AnimationatStart="0"
autostart="1" ShowControls="0" ShowGotoBar="0"
VideoBorderWidth="0" ShowStatusBar="0" ShowDisplay="0"
ClickToPlay="0"></object></div>
%>


The iframe, below, works perfectly well when it points to
a single .ppt file

However, can I use the same references the WMPlayer uses
and put them in the iframe code somehow? As "asfms" points
to the directory containing all the afs files, can I make
it point to the dir containing all the ppt files?

WMP references:

<param name="filename" value="<%=asfms%>">

and

SRC="<%=asfms%>"


IFRAME

<iframe name="ppt_thumbnail"
src="ppt/GenericPresentation.ppt" marginwidth="1"
marginheight="1" height="125" width="160" scrolling="no"
border="0" frameborder="0">
Your browser does not support inline frames or is
currently configured not to display inline frames.</iframe>

Is this possible or impossible to do?

Any help or advice would be greatly appreciated.