Aces High Bulletin Board
General Forums => The O' Club => Topic started by: loser on November 23, 2001, 06:19:00 PM
-
okay i figured out how to play a sound file on my page when it opens.
how do i go about making a button (or text group) that can be clicked to make it turn off?
i am using html, not a web page editor thingy
thanks in advance
-
The tag is:
<embed src="sound.mid" console="true" width="128" height="128">
You can manually adjust the size of the box by changing the height and width attributes.
Forgot to close my quote!
[ 11-23-2001: Message edited by: Kieran ]
-
FWIW, you can go to: World Wide Web Consortium (http://www.w3.org) and get about any HTML information you could ever use. There is info on Javascript, CSS, PERL, etc. Check it out.
-
thx man <S>!
-
hmm cant seem to get it to work
says it cant download the plugin properly
there is the outline of a button, but it dont work :(
i forgot to mention this page is not on a web server, just on a local computer in a notepad .htm file
maybe that makes a difference?
-
What browser type and version are you running? You should be able to d/l the updates to whatever browser it is and solve that prob. The code is right, your browser sounds like it might be missing a plugin.
-
duh, i wasnt running a current version of internut exploder
am now, no plug in error
but still not button and no worky
think we are getting close :)
thx for the continual help
-
k i got the image to show
you can click on the play buttons etc, they change in appearance,,,but the damn song wont stop...lol
i see that the file extension is .mid
mine is .mp3
-
this is retarded
okay the image is right
the buttons look like they work
BUT
i can only stop pause or play the song after it runs through once first
my tag for the sound file is:
<BG SOUND SRC="websong.mp3" LOOP="1">
i have tried with and without quotes around 1
the closing tag is
<embed src="websong.mp3" console="true" width="156" height"128">
any ideas?
i ahve tried removing the loop part of the tag...no good
-
Get rid of the BGSOUND tag altogether. All you should need is the embed tag.
SOB
-
They are 2 different tags loser.
The BGsound will make that music file play as part of your background. It will follow the number of loops and thats it.
The embed src tag is a "stand alone" music/avi playing tag with its own start/stop buttons.
Use the embed tag always, that bgsound thing is EXTREMELY annoying to viewers, they have to SIT there and suffer through it...or press BACK and leave your page, never to return.
If ye need any help, let me know.
Check out my "baby" http://home.cfl.rr.com/wraithfleethq (http://home.cfl.rr.com/wraithfleethq)
:D
[ 11-24-2001: Message edited by: Tac ]
-
okay
thanks tac this is starting to make sense
you know what my sound file is, tag it for me.
i changed both my tags to the "embed" thing and sitll have the same problem
btw, where the hell is the bathroom in the big ship of yours? mmmmmmmmmmmmm....nevermind
-
holy crap am i ever dumb, just after i posted my last message i had a thought.
maybe this thing is a stand alone tag
well anyway after changing my pants because of tac's huge assed lavatory free space ship (guaranteed it has a glass tail) everything works great.
thanks all for your help, i really appreciate it
<S!>
-
Sorry to take so long to get back, just got out of bed.
Yup, my fault, I didn't make myself very clear. You had me late at night, and while I suspected you were using bgsound, I assumed you would know that once you used embed you would dump bgsound. My bad (and I teach this stuff!).
-
In the future we use the airlocks loser.
:D
-
replace whatever you inserted with this:
<!--//NOTE TO SELF: Imbedded MIDI files are annoying as hell!\\-->