Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Modify iWeb pages to auto-start embedded music Apps
Here is a fairly easy way to get iWeb to autoplay any song you have added to your site. The solution requires that you download and install TextWrangler, a great text editing app from Bare Bones. Mount your iDisk, open the Script Editor application, and Record the following steps:
  1. Launch TextWrangler.
  2. Select Find... from the Search menu.
  3. In the 'Search for' field at the top of the dialog, type autoplay=false.
  4. In the 'Replace with' field, type autoplay=true.
  5. Check the Multi File Search Box.
  6. Click the Other... button on the right-hand side
  7. Select your iWeb folder using the following path: iDisk/Web/Sites/iWeb.
  8. You might want to click the Saved Search Sources and choose Remember this Set. This helps for future reference, but is not necessary for the script.
  9. Hit the Replace All button.
  10. Hit the Proceed button in the dialog box that appears. I wouldn't recommend changing any of these settings.
  11. Hit Save when it replaces the found text in a webpage. The Save box will appear for each web page you have created with embedded music.
  12. When finished, Quit TextWrangler.
Back in Script Editor, you can stop recording, and save the script. Save it as an application to enable double-clicking from the Finder. You can now double-click the script to autoplay whenever you republish using iWeb.

BTW, you might want to run TextWrangler first once you download it to register and install all of its components. Then you can quit it and run the Script Editor.

Hopefully this will help some people, and you can obviously customize the Find command to do a whole lot more. I just wanted songs to autoplay.
    •    
  • Currently 1.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[20,560 views]  

Modify iWeb pages to auto-start embedded music | 18 comments | Create New Account
Click here to return to the 'Modify iWeb pages to auto-start embedded music' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modify iWeb pages to auto-start embedded music
Authored by: macshome on May 15, '06 07:38:01AM

There is almost nothing in the world that turns me off to a website more than background music!

---
http://www.afp548.com
Breaking my server to save yours.



[ Reply to This | # ]
Re: Annoying Autoplay
Authored by: guardian34 on May 15, '06 08:13:10AM

Agreed.



[ Reply to This | # ]
Modify iWeb pages to auto-start embedded music
Authored by: leenoble_uk on May 15, '06 08:19:25AM

Never forget the golden rule of website building:

Background music isn't.

---
Brought to you by S C Johnson, a family multinational conglomerate.



[ Reply to This | # ]
Modify iWeb pages to auto-start embedded music
Authored by: snoozer on May 15, '06 08:35:34AM

Please don't. I hate pages that auto-start music. I'm glad Apple wised up and stopped auto-playing commercials on their home page, but they should have known better in the first place.



[ Reply to This | # ]
oops, ad still auto-plays
Authored by: snoozer on May 15, '06 08:39:27AM
Aw, crud, the home page is okay but the ads page still auto-plays.

[ Reply to This | # ]
oops, ad still auto-plays
Authored by: icruise on May 15, '06 01:45:00PM

The homepage still autoplays for me. And yes it's really annoying.



[ Reply to This | # ]
Modify iWeb pages to auto-start embedded music
Authored by: Mikey-San on May 15, '06 09:03:12AM

Ugh. Embedded media that plays itself can suck a fat one.



[ Reply to This | # ]
Although autoplay can be annoying...
Authored by: capitalj on May 15, '06 09:04:31AM

it does have its uses. In my case I have a interconnected sites for my family, some of which are soley to see or hear a single clip - and the links to them make that clear. I am grateful to freddyg for this hint.



[ Reply to This | # ]
oops
Authored by: capitalj on May 15, '06 09:09:39AM

I don't have "a interconnected sites." I do have clumsy fingers.



[ Reply to This | # ]
oops again
Authored by: capitalj on May 15, '06 09:53:27AM

It's actually spelled solely. And I am outnumbered.



[ Reply to This | # ]
Modify iWeb pages to auto-start embedded music
Authored by: RhetTbull on May 15, '06 09:28:43AM

No, no, no! I immediately close any web page that starts playing sounds or music. Just don't do it!



[ Reply to This | # ]
But
Authored by: capitalj on May 15, '06 10:06:49AM

as I stated in my original post, I have pages linked to other sites, navigable only from those sites, to diplay a short clip. The link is clearly marked. Is autoplay in the interest of the (admittedly minor) added convenience of one less click so terrible in this instance?



[ Reply to This | # ]
But
Authored by: osxpounder on May 15, '06 03:28:47PM

It is, indeed, even more obnoxious as ye olde blink tag, because it can bug people in another room. One more link click is not too much to ask of your grandpa. Plenty of annoying things can happen at grandpa's, due solely to your auto-play pages, and all of that can be avoided by using a link.

Web pages that auto-play music just won't do, unless they are part of a design that lets the user know, before he clicks on a link, that music will auto-play -- and if you can't implement a "mute" link that's easy to find, don't do it at all.

Ideally, you'd have player controls, with play, stop, rewind, mute, and a loudness adjustment. Mute is a bare minimum. Don't do it without the mute.

---
--
osxpounder



[ Reply to This | # ]
But wait
Authored by: capitalj on May 16, '06 06:16:32AM

one click will prevent people in the next room from being irritated? What kind of set up does theoretical Grandpa have? How irratable is theoretical Grandma? Mute (F3 on my computer) is not hard to find - I have in fact used it after checking the new site for my youngest brother's band, which autoplays thrash (and has all the buttons you prefer.)

I think you'll find that we agree more than disagree. You said "unless they are part of a design that lets the user know, before he clicks on a link, that music will auto-play -- and if you can't implement a "mute" link that's easy to find, don't do it at all." I said "I have pages linked to other sites, navigable only from those sites, to diplay a short clip. The link is clearly marked." I assumed that most people can find their mute key. You assumed most people have a kicking sound system left at high volume. Perhaps we both assume too much.

My pages do not auto play, yet. But take heart, we are strangers, and you will probably never be subjected to my mother-in-law's wedding music box or my daughter's giggle. More importantly, and in all seriousness, I do take into consideration the opinions of others. I will think twice before autoplaying.



[ Reply to This | # ]
No, Please No!
Authored by: sharumpe on May 15, '06 09:42:09AM
Don't give in! This is never a good idea.

Next, people will be bringing back the blink tag and that infernal IE-only "marquee" tag.

Friends don't let friends embed music on their Web site.

[ Reply to This | # ]
Modify iWeb pages to auto-start embedded music
Authored by: vocaro on May 15, '06 09:52:43AM

Oh God no not another musical webpage!



[ Reply to This | # ]
Modify iWeb pages to auto-start embedded music
Authored by: Bakari on May 15, '06 10:19:34AM

While I also hate auto music home pages, I think this is a useful post for iWeb users whose audience does enjoy that type of multimedia. Thanks for posting this.



[ Reply to This | # ]
Modify iWeb pages to auto-start embedded music
Authored by: placain on May 17, '06 01:01:44PM

If you follow this hint, my band of criminal gardeners will come to your home and mutilate your flower gardens.

This is a free service.



[ Reply to This | # ]