Wondering how to tag a .wav with a <a href=blah.com>

  • Blackdeath
  • Novice
  • Novice
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 18
  • Loc: Wisconsin
  • Status: Offline

Post February 13th, 2004, 1:28 am

Wondering how to tag a .wav file(sound effect> with a
a href=blah.com>blah</a>

Exacly what the topic says, been stumped on this one for about a day now.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 13th, 2004, 1:28 am

  • Axe
  • Genius
  • Genius
  • User avatar
  • Joined: Jan 07, 2004
  • Posts: 5744
  • Loc: Sub-level 28
  • Status: Offline

Post February 13th, 2004, 2:32 am

I'm not quite sure exactly what you mean...

Are you looking to produce a link that will download a wav?
Are you looking to produce a link that will play a wav?
  • Blackdeath
  • Novice
  • Novice
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 18
  • Loc: Wisconsin
  • Status: Offline

Post February 13th, 2004, 4:32 pm

Sorry for being not clear, what I meant to say was how to produce a link that will play a .wav file when clicked on, not download it.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post February 13th, 2004, 5:04 pm

Code: [ Select ]
<a href="http://www.yourdomain.com/yourwavfile.wav">Play this music</a>
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Blackdeath
  • Novice
  • Novice
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 18
  • Loc: Wisconsin
  • Status: Offline

Post February 13th, 2004, 9:20 pm

my bad making myself look stupid, another rephrase,

How do I make a link that will take the user to another webpage AND play the .wav I designate it.

so how woulda I make the link
Code: [ Select ]

<a href=http://mydomain/blackdeath.com/images/wildcat>Kat</a>
  1. <a href=http://mydomain/blackdeath.com/images/wildcat>Kat</a>


Play this sound effect when clicked on
Code: [ Select ]
http://mydomain/blackdeath.com/roar.wav
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post February 13th, 2004, 9:33 pm

Then you need to embed the wav file in the new page. (I take it your "wildcat" directory holds some kind of HTML file to display)? Just embed the wav file in that.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Blackdeath
  • Novice
  • Novice
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 18
  • Loc: Wisconsin
  • Status: Offline

Post February 13th, 2004, 10:49 pm

Ok thank you for the help ANTO/TW , I will do what you last posted
  • Nucleo
  • SausagePorkPie
  • Mastermind
  • User avatar
  • Joined: Aug 16, 2003
  • Posts: 2297
  • Loc: UK - England
  • Status: Offline

Post February 15th, 2004, 10:10 am

ok...
i see your problem..
this is the code i would use.
Code: [ Select ]
<embed src="NAMEOFSONG.WAV" autostart=false loop=false height=45 width=350 controls="smallconsole">

this will make a little box 45x350, it will look like a windows media player box, with start, pause, rewind ect. depending on the users version of windows.
it will look like this
<embed src="music/goingunder.au" autostart=false loop=false height=45 width=350 controls="smallconsole">
(i dont have any music atm :P)
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |
  • stinger
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jan 22, 2004
  • Posts: 157
  • Loc: San Jose, CA
  • Status: Offline

Post February 15th, 2004, 2:27 pm

ARe you looking for something that will be dynamic? If so. . I would use a javascript function that will set the embed src. This will allow you to go to your default copyright page, and play a sample of music. This page will be able to handle multiple files, only playing 1 at a time.

You will do this by sending a javascript variable within the html link.

so. . .

<a href=www.yourdomain.com/musicfiles/play.html?song=whatyouhere.wav>Click to play</a>

this will send the variable of whatyouhere.wav to your html page.

THEN. . .

you will use this variable to define a embed src and later use onLoad() to play the music when it loads.

-you have been stung-

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 117 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.