Support » Plugins and Hacks » Using a PHP source for the soundFile

Using a PHP source for the soundFile

  • ethandbrown


    For security reasons my sound files are located outside of the webspace and provided via a php program. However when I provide the URL query string for the php program as the soundFile parameter the player just shows “buffering”. Note that using the php URL query string as a direct anchor tag does successfully download the sound file. It’s only in the AudioPlayer that there are problems. I’m attempting to embed the player as:

    AudioPlayer.embed("audioplayer_1", {soundFile: "http://my_server/serve_song.php?song_id=123"})

    Thanks for your help


  • The topic ‘Using a PHP source for the soundFile’ is closed to new replies.