Ask a Question related to ASP Database, Design and Development.
-
Earthworm Jim #1
Display query results in iframe not a table
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.
Earthworm Jim Guest
-
HELP! Display query results horizontally
with CFquery, the data is display in the table vertically, is there any way I could display it horizontally? example: #firstname# #firstname#... -
Query results don't display properly in results table.IGNORE PREVIOUS
:disgust; I need to display the results of a query. The query runs properly. My problem is having specific results display in specific locations in... -
Need to display query results in specific locations inresults table
:disgust; I need to display the results of a query. The query runs properly. My problem is having specific results display in specific locations... -
Query results don't display properly in results table.
:disgust; I need to display the results of a query. The query runs properly. My problem is having specific results display in specific locations in... -
Display query results on multiple lines?
Response.Write ("<TR><TD>") Response.Write (objRS.Fields("Title") & ", ") Response.Write (objRS.Fields("Name") & ", ") Response.Write...



Reply With Quote

