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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Playing .wav and .avi files

Status
Not open for further replies.

racebeetlestone

Technical User
Mar 11, 2004
9
JP
I'm sure this is very simple, but these MACROMEDIA
tutorials are never clear. I want to play a .WAV file when a link
is clicked. How do I set this up on my page in DREAMWEAVER? Here is an
example site.
Also want to do the same with a movie file. I have movie clips from t.v.
commercials I've done and when a link is clicked I want a new smaller window
to open and play the clip. Either streaming or download. How/ where do I set
this up?

PLEASE HELP! I'm so close to being done ...


Thanks much
PvG
 
for opening a clip on a new window:
<input type="button" value="Open Clip" onclick="window.open('TheFilePath')">

Note: if the file path contains \ then use \e.g:
c:\folder\file.mp3
must be:
c:\\folder\\file.mp3


to call a file in the same window use the Embed tag.

however i would suggest that u use Flash for this, its very light therefore faster to download, u can also have a better control over the sound file...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top