Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript sound plays locally, stops after a couple of seconds on site.

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #31416
    mgason
    Member

    Hi,
    I have a page with some mp3 audio. Rough working version can be found here. All the buttons call the same sound at the moment, it’s not a bug.
    http://museum.spps.org/audio_testing.html
    The sound works fine when I test locally in browsers but when it is on the site the sound stops after a couple of seconds.
    If I click continuously the sound keeps going!
    Any ideas?

    I am using script

    embedding the sound

    
    enablejavascript="true">

    then calling it like this

    
    ALT="PLay Sound" NAME="Submit now" onClick="EvalSound('sound1')">

    ALT="Stop Sound" NAME="Submit now" onClick="EndSound('sound1')">
Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.