offtheroad Posted February 19, 2009 Share Posted February 19, 2009 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/ Quote Link to comment https://forums.phpfreaks.com/topic/145944-audio-not-playing-on-initial-opening-of-browser/ Share on other sites More sharing options...
ricmetal Posted February 24, 2009 Share Posted February 24, 2009 "you're probably calling the sound.play() before it's loaded enough to start." you have to check for the sound to be loaded before playing it, if its set (in flash) to play only after the sound finishes loading.... google flash 8 documentation google flash 8 Sound there should be enough there and pretty easy to follow hope u get it right Quote Link to comment https://forums.phpfreaks.com/topic/145944-audio-not-playing-on-initial-opening-of-browser/#findComment-770641 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.