New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Play background sound in web browser of Mac pc


Post Reply New Thread Subscribe

 
Thread Tools
yu2
Guest
 
Posts: n/a

I am having a problem getting a background sound to play in the web browsers of Mac.

Actually what I would like to do is a sound should be played auotmatically once a web page is loaded without clicking on anything to play the sound. I have used the tag and this is only works fine in IE, not for other web browsers in Mac. I have tried using the tags <embed> and <noembed><bgsound></noembed>, but the background sound is not played when I opened the HTML page in Mac.

Hope someone could give me some idea to solve the problem.

Thanks in advance.

These are the HTML code:

Code:
<embed src="Testing.mp3" hidden=true autostart=true>
<noembed><bgsound src="Testing.mp3"></noembed>
QUOTE Thanks
alexisonfire

 
Member Since: Jun 26, 2005
Posts: 18
alexisonfire is on a distinguished road

alexisonfire is offline
convert it to a .wav and see if it works....
QUOTE Thanks
JackTheRipper

 
Member Since: Dec 11, 2004
Location: Vancouver
Posts: 128
JackTheRipper is on a distinguished road
Mac Specs: 14" iBook 1.33 G4, 768 MB RAM, 60GB HD

JackTheRipper is offline
please ntoe that playing background music is kinda considered amateurish. I would advise against that. It increases page load time and personally, i find it annoying

as alexis said, get it to a .wav file and see if it works.
QUOTE Thanks
bhanson
Guest
 
Posts: n/a

Please don't, or my Pooh will spawn little green monkies at you.

No really, even if converting it to a wav works, the file will be an unwieldy size, and a lot of people run audio processes in the background while browsing, so they would conflict. If you really feel the need to use audio, embed it into a flash applet, that's the best way to do it IMHO.

HTH
QUOTE Thanks
iWhat

 
iWhat's Avatar
 
Member Since: Nov 11, 2004
Location: Toledo, Ohio
Posts: 5,736
iWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond reputeiWhat has a reputation beyond repute
Mac Specs: Macbook, iMac G5, iPad, iPhone 4, iPod (MANY)!

iWhat is offline
Click me!

I guess as long as its not too bad of a sound file, you'll be fine.
QUOTE Thanks
yu2
Guest
 
Posts: n/a

Quote:
Originally Posted by bhanson
Please don't, or my Pooh will spawn little green monkies at you.

No really, even if converting it to a wav works, the file will be an unwieldy size, and a lot of people run audio processes in the background while browsing, so they would conflict. If you really feel the need to use audio, embed it into a flash applet, that's the best way to do it IMHO.

HTH

bhanson, what do u mean by "embed it into a flash applet"? Is it the only way to solve my problem? Could you give me some idea?
QUOTE Thanks
bhanson
Guest
 
Posts: n/a

Quote:
Originally Posted by yu2
bhanson, what do u mean by "embed it into a flash applet"? Is it the only way to solve my problem? Could you give me some idea?
The best example I can think of is not online anymore. It was an Unreal Tournament team's website, High Voltage. They had a small square applet in the top right hand of the website under the header with a green circle and it played "High Voltage by (Blink 182??)". You could press the green circle and it would turn into a red circle and the music would stop playing. Pressing it again would turn the music back on.

It was a simple, easy way to allow the users to turn the music off if they didn't like it.

Use music if you like, but give an easy way to turn it off.
QUOTE Thanks
yu2
Guest
 
Posts: n/a

Quote:
Originally Posted by bhanson
The best example I can think of is not online anymore. It was an Unreal Tournament team's website, High Voltage. They had a small square applet in the top right hand of the website under the header with a green circle and it played "High Voltage by (Blink 182??)". You could press the green circle and it would turn into a red circle and the music would stop playing. Pressing it again would turn the music back on.

It was a simple, easy way to allow the users to turn the music off if they didn't like it.

Use music if you like, but give an easy way to turn it off.
Do you mean by play the sound with a sound player? Use the sound player to let the user controls the sound play, stop and pause, is it?
QUOTE Thanks
ryanyogan
Guest
 
Posts: n/a

Look you can use html however it has to be in WAV format, why would a browser play MP3??? You can use flash, or java just google it up!!! Either way don't waste your time, I refuse to visit any site with music, I even hate visiting a bands site with flash that doesn't allow me to turn it off!
QUOTE Thanks

Post Reply New Thread Subscribe


« Cleaning Text from Mac to PC? | How to make an application full screen for Mac OS X that are called through html? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Mac Buyers Guide rs2sensen Switcher Hangout 42 09-10-2007 10:43 PM
Setting default web browser tafika Web Design and Hosting 2 07-13-2005 04:31 PM
Web Browsers- Printing URL Footer/ Background Image freeridevt Web Design and Hosting 2 03-04-2005 03:38 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM
Web Design with a Mac Emrys Web Design and Hosting 1 01-29-2003 10:03 PM

All times are GMT -4. The time now is 07:20 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?