Client wants wmv files on his website

My client wants to use some wmv files on his website.
What code to use to embed(?) windows media player on user’s sites please.

Couldn’t get this to work

Found this on Experts Exchange -

[SIZE=“2”][SIZE=“3”][FONT=“Times New Roman”]Hi
I use this code to embed movies, I have tested it in all browsers you list and is working fine for me:

<OBJECT ID=“MediaPlayer1” width=405 height=352

classid=“CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95”
CODEBASE=“http://activex.microsoft.com/activex/controls/mplayer/
en/nsmp2inf.cab#Version=6,4,5,715”
standby=“Loading Microsoft Windows Media Player components…”
type=“application/x-oleobject”>

<param name=“src” value=“NameOfMovieFile.wmv”>
<PARAM NAME=“AutoStart” VALUE=“True”>
<PARAM NAME=“FileName” VALUE=“NameOfMovieFile.wmv”>
<PARAM NAME=“ShowControls” VALUE=“False”>
<PARAM NAME=“ShowStatusBar” VALUE=“True”>
<EMBED type=“application/x-mplayer2”

pluginspage=“http://www.microsoft.com/Windows/MediaPlayer/
SRC=“NameOfMovieFile.wmv”
name=“MediaPlayer1”
width=405
height=352
autostart=1
showcontrols=1
showstatusbar=1
filename=“NameOfMovieFile.wmv”>

</EMBED>
</OBJECT>[/FONT][/SIZE][/SIZE]

I put my wmv file name in and tested with IE, Firefox and Safari for Windows.
Nothing. Using Dreamweaver, PC XP
Want the movies to play cross browser, PC, Mac without having to convert to Flash.

Can anyone help please?

Hi, I would still recommend Flash player instead. It is by far the most widely used (Win/Mac/Linux) platform and you can get number of nice (free) players, for example: http://flowplayer.org/

I’d like to know why the code doesn’t work

(client converted a couple of vids to Flash - was disappointed)

Can you post a link to a live test page? Hard to say why it’s not working without it. :slight_smile:

Went to the Flow player site. the demo vid keeps stopping to stream in some more . I paused it for a while to let it stream ahead. It didn’t.
I’m on high speed cable

Hanging video is most like encoding issue. Try converting your .wmv to .flv with free Riva Encode:

http://rivavx.com/index.php?encoder&L=3