LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-17-2004, 12:18 AM   #1
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Rep: Reputation: 30
adding sound to webpage


i was wandering how to add sound to my webpage when it opens and when someone clicks on a certain link

thanks
 
Old 01-17-2004, 03:22 AM   #2
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Code:
<embed src="videoorautdio.flie">
Then the properties for that are autostart, height, width, hidden, and loop.
 
Old 01-18-2004, 09:40 PM   #3
Mohsen
Member
 
Registered: Feb 2003
Location: Iran
Distribution: Solaris 10
Posts: 201

Rep: Reputation: 30
There is another useful tag
Code:
<bgsound src=... loop=... width=...>
 
Old 01-19-2004, 01:11 AM   #4
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Original Poster
Rep: Reputation: 30
ok thanks
 
Old 01-19-2004, 05:34 AM   #5
caged
Member
 
Registered: Jan 2004
Location: new zealand
Distribution: Mandrake,Slackware
Posts: 165

Rep: Reputation: 30
some questions:

will the <BGSOUND tag work with many different broswers?
for the <EMBED tag what are the values for autostart just on/off?

cheers.
ben.
 
Old 01-19-2004, 08:26 AM   #6
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Autostart is true or false, and actually everything in embed is true or false except for src, width and height.
 
Old 01-19-2004, 03:02 PM   #7
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Original Poster
Rep: Reputation: 30
ok the autostart and hidden wont work i have

<embed autostart=true hidden=true src=path/to/audio/file/ >

but it shows a little play button and won't auto start

also the <bgsound> will not work at all
 
Old 01-19-2004, 03:30 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
can i just take this moment to utterly utterly beg you not to ever ever think abuot doing anything like this ever ever ever? please?
 
Old 01-19-2004, 05:51 PM   #9
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 36
acid_kewbie beat me to it.

Damn you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound after adding new user jimbrechin Linux - Newbie 1 08-04-2005 05:41 AM
adding sound profile greygoose80 Slackware 3 01-08-2005 10:44 AM
help needed in adding sound files..... sachitha Linux - Newbie 9 12-02-2003 10:50 AM
adding .wav sound to mozilla shanenin Linux - Software 2 09-11-2003 01:21 PM
Postfix mail server. (Adding a user from a webpage?) hawkpaul Linux - Software 6 05-30-2003 03:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration