Jump to content

Audio not playing on initial opening of browser


offtheroad

Recommended Posts

    *

    *

          o View Profile

          o Personal Message (Online)

 

Audio not playing on initial opening of browser

« on: Today at 10:18:32 AM »

 

    * Reply with quoteQuote

 

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."

1jimage.com/ultimate-deploy/

 

 

[attachment deleted by admin]

None of the files you have posted have anything to do with music playback. The buildMisicPlayer file reads the filenames in your mp3 directory then constructs an xml document.

 

sound.play() is a Javascript function. If this is in your site then your probably looking for an onLoad() event handler within the <body> tag of your html pages

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.