Embed small Powerpoint preview in webpage

E

Earthworm Jim

Hi

Problem:

I would like to embed/place powerpoint presentations in a
web page, say 225 x 170 pixels, to preview it, before
having to play at full screen mode. I would like to keep
the files as .ppt if possible.

Current Situation:

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

The site enables a user to select a category of
presentations, a table of presentations appears providing
the presentation name and brief description. The table is
linked to a database containing details of the powerpoint
files. The name of the file is a hyperlink to a details
page describing the particular presentation, again linked
to the database. The details page plays the preview on the
LHS of the web page. Right click on preview and you have
the option to play full screen. There is also a
presentaion upload form page, enabling users to upload
remotely to the database.

I can embed Windows Media Player 9 at the required
resolution but it doesn't play existing .asf files in the
new WMP 9 player. I would like to bypass the middle stage
of converting the .ppt files to .asf.

Any help or advice would be greatly appreciated and many
beer tokens will be sent.

Earthworm Jim
Weilding the Sword of Righteousness out there in the
Jungle of Justice!
 
T

Thomas A. Rowe

You can not keep the file in the PPT format and do what you want, as it
would also require the user to have PPT or the PPT Viewer installed to view.

Have you looked at Microsoft Producer, available at:

http://www.microsoft.com/windows/windowsmedia/technologies/producer.aspx

as a possible solution.

Second thought, you could create small PPT, sized as needed, then play it
back as PPT in a IFrame, however users user must still have PPT or the PPT
Viewer install for viewing. Plus as with any PPT file, the file must
download prior to being viewed.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
E

Earthworm Jim

Hi

I included the iframe at the size I wanted and it's great,
better than expected, thank you very much. However, It
will work perfectly when I name the initial page to one
particular .ppt file, the tricky thing is now I need to
link it to the directory where all the .ppt files are. I
need it to display any of the .ppt file when I click on
the file name link. There are only 3 pages to this site,
all linked to the database.

Here's a bit of the ASP code

<%
....
input1=request.querystring("ppt")
input2= "<a href='ppt/" &input1 & "'>" &input1 & "</a>"
ip1=request.querystring("cat")
pptms = "http://my server.com/slide_manager/ppt/" &input1
& ".ppt"
.....
.......
%>

......

<iframe name="I1" src="<%=pptms%>" marginwidth="1"
marginheight="1" height="125" width="160" scrolling="no"
border="0" frameborder="0">
</iframe>

It works if I put "filename.ppt". But I have tried what
I've put in the iframe src above as it's pointing to the
ppt directory, but this doesn't work, but works doing
similar in the media player.

Is this an impossibility with iframes or is there a funky
little bit of code I have to add within the iframe tag
that will enable clicking on a file name hyperlink and
display that particular .ppt file in the web page?
Impress me with your encyclopaedic knowledge, Thomas!

At the moment, though, I'm still a happy banana [dancing a
little jig] as the page with the iframe works great with 1
individual presentation .ppt file.

Thomas, you're a Super Hero. Keep wearing the cape!
 
T

Thomas A. Rowe

A couple of options:

1. Load a empty page in the IFrame when the page first loads that match your
page background, etc.

2. Load a page that contains links to the each slideshow, however this
create a issue of running to the initial page of links.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Earthworm Jim said:
Hi

I included the iframe at the size I wanted and it's great,
better than expected, thank you very much. However, It
will work perfectly when I name the initial page to one
particular .ppt file, the tricky thing is now I need to
link it to the directory where all the .ppt files are. I
need it to display any of the .ppt file when I click on
the file name link. There are only 3 pages to this site,
all linked to the database.

Here's a bit of the ASP code

<%
...
input1=request.querystring("ppt")
input2= "<a href='ppt/" &input1 & "'>" &input1 & "</a>"
ip1=request.querystring("cat")
pptms = "http://my server.com/slide_manager/ppt/" &input1
& ".ppt"
....
......
%>

.....

<iframe name="I1" src="<%=pptms%>" marginwidth="1"
marginheight="1" height="125" width="160" scrolling="no"
border="0" frameborder="0">
</iframe>

It works if I put "filename.ppt". But I have tried what
I've put in the iframe src above as it's pointing to the
ppt directory, but this doesn't work, but works doing
similar in the media player.

Is this an impossibility with iframes or is there a funky
little bit of code I have to add within the iframe tag
that will enable clicking on a file name hyperlink and
display that particular .ppt file in the web page?
Impress me with your encyclopaedic knowledge, Thomas!

At the moment, though, I'm still a happy banana [dancing a
little jig] as the page with the iframe works great with 1
individual presentation .ppt file.

Thomas, you're a Super Hero. Keep wearing the cape!




-----Original Message-----
You can not keep the file in the PPT format and do what you want, as it
would also require the user to have PPT or the PPT Viewer installed to view.

Have you looked at Microsoft Producer, available at:

http://www.microsoft.com/windows/windowsmedia/technologies /producer.aspx

as a possible solution.

Second thought, you could create small PPT, sized as needed, then play it
back as PPT in a IFrame, however users user must still have PPT or the PPT
Viewer install for viewing. Plus as with any PPT file, the file must
download prior to being viewed.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp




.
 
E

Earthworm Jim

Hi

Can I use, somehow, the references that the web page using
WMP uses and put them in the iframe code? Should this be
on another forum subject page?

<%
<object ID="MediaPlayer" ....">

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

<embed TYPE="application/x-mplayer2" SRC="<%=asfms%>"
NAME="MediaPlayer" ....
.....</object></div>
%>


The Param filename and SCR use the reference <%=asfms%>
which points to the asf directory containing all the asf
files. Does iframe allow for inclusion of something like
param name="filename" value= said:
, so I can access the ppt dir?

Your help is greatly appreciated
 
T

Thomas A. Rowe

You will have to try it and see if it works.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top