Audio not playing on initial opening of site

Discussion in 'HTML & Website Design' started by offtheroad, Feb 21, 2009.

  1. #1
    I have no experience in php or much in xml. I have a problem with the audio not playing until I refresh the browser. I'm on a mac and use firefox and safari. The audio file is around 1MB. I had some help with this site but lost contact with the person that set up the php in my serve. I did learn a little of xml but not much. This was a template and the original audio was 3 differnt mp3's. I replaced them with one of my own and went into songs.xml and did change the title. I got this response in another forum but no answer on how to solve it."you're probably calling the sound.play() before it's loaded enough to start." If you can help let me know what attachments to send.
    1jimage.com/ultimate-deploy/
     

    Attached Files:

    offtheroad, Feb 21, 2009 IP
  2. Valiant

    Valiant Peon

    Messages:
    284
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Posting some code may help.
     
    Valiant, Feb 21, 2009 IP
  3. offtheroad

    offtheroad Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That's just it which code?
    php, xml or js?
     
    offtheroad, Feb 21, 2009 IP
  4. Valiant

    Valiant Peon

    Messages:
    284
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The code you have changed (with previous code before change if you can).
     
    Valiant, Feb 21, 2009 IP