Autoplay music in iWeb

Discussion in 'Mac Apps and Mac App Store' started by drumpat01, May 8, 2006.

  1. drumpat01 macrumors 6502

    drumpat01

    Joined:
    Jul 31, 2004
    Location:
    Denton, TX
    #1
    Hey is there anyway to make an iWeb page auto start playing an audio file as soon as the page is loaded? Maybe im just really missing something obvious, but whenever I publish the site, it never auto plays, i have to click play.
     
  2. lad1509 macrumors member

    Joined:
    Apr 1, 2006
    #2
    but it auto downloads it witch I do not want it to do.

    so it would be great if we can figure out 2 things.

    1- how we can make a music file auto play.
    2-how can we nake a file not download unless the user clicks on it.

    thanks
     
  3. cansokevin macrumors newbie

    Joined:
    Jun 14, 2008
    #3
    Iweb Music

    Has Anyone Actually Answered This Question Because I Was Wondering The Same Thing.
     
  4. Obama macrumors member

    Joined:
    Jun 4, 2008
  5. thinksergio macrumors newbie

    thinksergio

    Joined:
    Mar 23, 2010
    Location:
    Chicago
    #5
    Here's a sample page from my iWeb site with an mp3 set to loop when you open it:

    http://thinksergio.com/example/about.html

    It's nothing special, but now that I figured it out I'm going to find the right audio to add to my pages.

    I was able to get the mp3 to autoplay using the html snippet below. You'll need to upload an audio file onto your iDisk or host site and change the area in red to where ever you placed the audio file.

    <script>
    function EvalSound(soundobj) {var thissound= eval("document."+soundobj);thissound.Play();}
    </script>

    <embed src="http://thinksergio.com/audio/button2.mp3" loop=true width=0 height=0 name="sound1" enablejavascript="true"/>
    </a>
     
  6. oinkalena8 macrumors newbie

    Joined:
    May 30, 2011
    #6
    it's easy

    Just go to "show media", click Music and pick the song you want and drag it in. Then go to inspector and click the quicktime button, and click loop and autoplay. ;)
     

Share This Page