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?