.wmv file in frontpage

V

vinceg

http://www.dancenewyork.com/Interim_Space_Video.htm
is a page with an embedded .wmv file.
I inserted the file on my local system (File/Insert/Picture/Video),
resized to 320 x 240, and saved it.
When I preview the local .htm file, it workd just fine.
After I publish (using FB publish method), the video
does not play, and appears not to be on the page.
The video is on the server and will play if addressed
directly(http://www.dancenewyork.com/NewStudio3.wmv)
but will not open on the page.
I checked the code behind the page and it looks the same locally
and on the server.
A version of the same page using a Flash video works just fine
http://www.dancenewyork.com/Interim_Space_flash.htm.
I appreciate any advice.
Thanks,
 
S

Steve Easton

You need to embed media player in the page:


OBJECT ID="MediaPlayer" WIDTH="320" HEIGHT="240" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer" WIDTH="320" HEIGHT="240"
ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>


Change videofilename.wmv to the actual file name of your .wmv file.
Note it is not a hyperlink but a <src > type link.

--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
M

Mike Mueller

Wow, it's been a long time since I have seen the dynsrc attribute.

The dynsrc attribute was one of them make it up as we go along things that
MS did to IE. Does not work in most modern browsers. There are a couple of
options for you, one of which would be to get the Windows Media Player
add-in for FrontPage. This will give you a GUI interface for setting up the
controls. It is a little messy with the HTML that it produces though.

The usual method would be to use an <object> tag, along with the Class ID
for the Windows Media Player ActiveX control. That is easily availbe through
a google search. The problem is that this method does not work in non-IE
browsers.
For the rest, the method would be to use an <embed> tag inside of the
object. This was also a make it up as you go along item, done by Netscape,
but works in most major browsers. The problem with this is that <embed> does
not exist according to the web consortium, so it will not validate- even
though it works

What I have been using is to use the object tag, without the Class ID, but I
define the MIME type and then the browser will call the correct plugin. IE
will load the activeX, and the other browsers will use the plugin that has
been designated for the file type.

This code will work for embedding any non-content items as well, with a
little tweaking you can do PDFs or images inside of it

<object type="video/x-ms-wmv" data="http://www.domain.com/video-name.wmv"
width="320" height="305">
<param name="src" value="http://www.domain.com/video-name.wmv">
<param name="autostart" value="true">
</object>

** NOTE **
It is best to use absolute URLs for this. If you want to understand how the
controls work, you can use the Windows Media SDK to learn it.
 
V

vinceg

Mike,
Thanks very much for the response.
I'm not sure I understand it all, but I'm really good at following directions,
so I will give it a try.
Thanks again.
Vince G.
 
B

BZM

I also have wmv problems with FP03. imbedded the wmv using the insert /
multimedia player and choosing the file. I save, publish and check it. it
briefly says connecting to media then goes right back to ready. I am running
W2k and have dl'd media 9 to my pc. the files play great by clicking on
them, but not in a page.
here is one URL
http://www.allfoodequip.com/New Pages/arcan_bar_extruder_video.htm
Please help
 
R

Rob Giordano \(Crash\)

try importing the video file into your web first



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
 
B

BZM

Thanks for the quick reply, Rob. I have already done that. saved the wmv
files into the section of web/images first then went there to find them in
the insert/media process. it looks like the web page has not received the
file, altho it seems to show up in the source code. I am using FTP right now
to upload the files to the web (not FP publishing). problem is that it looks
like it should work, but doesnt. Did you see anything in the source code of
the page that jumps out at ya?
 
B

BZM

got it! and boy was it simple .. too simple really. from the top menus
insert/picture/video and presto chango there it is. even for the wmv
 

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