Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

embedding wav file?

Status
Not open for further replies.

robert89

Technical User
Nov 19, 2003
125
CA
I am trying to embed a wav file into my page.

1. Dreamweaver's validation check says, "filepath" is not valid value for src. Can someone provide me with the correct syntax for embedding a wav file?

2. Dreamweaver's validation check also seems to be fussy about where the embedded file is placed. Specifically, doesn't like in in paragraph, body, or table.

Any help would be greatly appreciated.

Thanks,
Bob
 
<embed src="path/to/file.wav"> is all that is needed, but again, its non HTML 4.0 Standards compliant. All "embeding" is deprecated scripting now.
 
Thanks WizyWyg.

This explains dreamweavers uncooperative nature, and I thought it was the software.

While we are avoiding deprecated coding, we are curious.

We are trying to embed the .wav file so we get an image of the controller on the page. Some browser display and some don't. Found info at quicktime which said there was a problem in internet explorer v5, v6 and the following was the fix,

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="100" height="40"
codebase="<param name="src" value="../vo/ryersonptl.wav">
<param name="autoplay" value="false">
<param name="controller" value="true">
<embed src="../vo/ryersonpt1.wav" autoplay="false" controller="true" width="100" height="40" pluginspage="</embed>
</object>

Unfortunately, some machines display graphic of controller and some don't. Any suggestion on how we can get the controller to display like any other graphic?

Purely curiosity.

And thanks again for other into.

Bob
 
You might try this one:
Code:
<object id="MediaPlayer" width=320 height=286
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject"
codebase="[URL unfurl="true"]http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">[/URL]
<PARAM NAME="filename" VALUE="interview_fox_video.asx">
<PARAM NAME="autoStart" VALUE="true"> <PARAM NAME="showControls" VALUE="true">
<param name="ShowStatusBar" value="true"> <PARAM NAME="Autorewind" VALUE="true">
<PARAM NAME="ShowDisplay" VALUE="false"> 
  <EMBED SRC="interview_fox_video.asx" WIDTH=320 HEIGHT=286 type="application/x-mplayer2" name=MediaPlayer autostart=1 showcontrols=0 showstatusbar=1 autorewind=1 showdisplay=0>
</EMBED></OBJECT>

__________________________
Corey

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top