Author Topic: adding sound to a web page  (Read 4779 times)

0 Members and 1 Guest are viewing this topic.

BTPS

  • Founding Member
  • Master Motivator
  • *****
  • Offline Offline
  • Posts: 8567
    • View Profile
    • Businesses Growing Together
adding sound to a web page
« on: July 12, 2010, 01:27:11 AM »
ok, I know I hate sound on a web site

BUT

I really want to try this.

I have the sound file
I want to add a button that says STOP  incase someone don't want the sound.

It's a laughing sound track (my kid even) that I want to put on www.GagGiftsRUs.com

Anyways, I have no clue how to do this. Anyone know the HTML coding to do this?




sock monkeys at www.OurSockMonkey.com and of course everything at www.FilthyRichFashions.com

Yesterday is history, tomorrow is a mystery, and today is a gift. That is why we call it the present!

biggfredd

  • Founding Member
  • Master Motivator
  • *****
  • Offline Offline
  • Posts: 15092
  • Love this chatroom!
    • View Profile
    • Garrett Metal Detectors
Re: adding sound to a web page
« Reply #1 on: July 12, 2010, 02:41:24 AM »
google search

several ways:
auto sound, button off
sound if they hit a button
play once
loop

All should be explained here.  You will need the sound hosted somewhere, of course.
« Last Edit: July 12, 2010, 08:37:53 AM by biggfredd »
Check out the Bigg Elf's Toy Stash -- http://toystash.ecrater.com

And our Garrett metal detectors -- http://metaldetectors.ecrater.com

WayOutWest

  • Administrator
  • Master Motivator
  • *****
  • Offline Offline
  • Posts: 8631
    • A3PDNI0CMSQZ2N
    • View Profile
    • WayOutWestUSA.com - Landstrom's Black Hills Gold Jewelry
Re: adding sound to a web page
« Reply #2 on: July 12, 2010, 03:01:11 AM »
It's been a long time since I've tinkered with audio on a webpage, but try this

 open notepad and put url of file location in it.  Ie:
http://www.yoursite.com/file.mp3  

save notepad file as a .m3u file  (Ie: file.m3u)  This is file extension for universal playlist
upload that file to your site and then in html coding put:

<EMBED src="file.m3u" autostart="true" hidden="true" showcontrols="true" loop="true" volume="100">

Note: If audio doesnt play, your server will need to have the associated MIME type configured.  


I'm not sure if the controls will show up with this or not; the rest should work, though.
« Last Edit: July 12, 2010, 03:03:42 AM by WayOutWest »

signsintime

  • Advanced Seller
  • Master Motivator
  • *****
  • Offline Offline
  • Posts: 8566
    • View Profile
    • Starry Night Web Design
Re: adding sound to a web page
« Reply #3 on: July 12, 2010, 04:49:08 AM »
FWIW, I don't know anyone who doesn't immediately back out of a site with sound unless it's a music site they expect to have it.
www.starrynightwebdesign.com ~ Highwire and Themes & Services • Custom Web Design

springintoscooters

  • Founding Member
  • Master Motivator
  • *****
  • Offline Offline
  • Posts: 3429
  • The United States Postal Service's Official Mascot
    • View Profile
    • Spring Into Scooters
Re: adding sound to a web page
« Reply #4 on: July 12, 2010, 05:30:07 AM »
-especially if they are already streaming audio from another source.
<----- Slow ride. Take it easy.

BTPS

  • Founding Member
  • Master Motivator
  • *****
  • Offline Offline
  • Posts: 8567
    • View Profile
    • Businesses Growing Together
Re: adding sound to a web page
« Reply #5 on: July 12, 2010, 06:10:11 AM »
FWIW, I don't know anyone who doesn't immediately back out of a site with sound unless it's a music site they expect to have it.

I asked about 100 people that I know ... because I am like you  ... RUN ... I like silences.
But those I asked -- not online sellers like us, not people that are on their computer all day
but casual users - just about everyone of them said they don't care if their is noise or sound or anything - all but 3 people said that

So I figure ... what the heck, I can try it.

I think many of us that spend hours day after day on the computer like things OUR WAY, I know I do, lol


sock monkeys at www.OurSockMonkey.com and of course everything at www.FilthyRichFashions.com

Yesterday is history, tomorrow is a mystery, and today is a gift. That is why we call it the present!

biggfredd

  • Founding Member
  • Master Motivator
  • *****
  • Offline Offline
  • Posts: 15092
  • Love this chatroom!
    • View Profile
    • Garrett Metal Detectors
Re: adding sound to a web page
« Reply #6 on: July 12, 2010, 08:41:49 AM »
I put sound in an ebaY listing, with a prominent "click here for some mood music while you read".

Perhaps a "click to hear my daughter's testimonial".
Check out the Bigg Elf's Toy Stash -- http://toystash.ecrater.com

And our Garrett metal detectors -- http://metaldetectors.ecrater.com

  

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf