We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › sonia playing audio from a remote server
Page Index Toggle Pages: 1
sonia playing audio from a remote server (Read 1012 times)
sonia playing audio from a remote server
May 22nd, 2006, 5:57am
 
must an applet be signed to play an audio file from a remote server using sonia?
Re: sonia playing audio from a remote server
Reply #1 - May 22nd, 2006, 11:35am
 
If you want to download data from any other server than the one the applet was loaded from, it needs to be signed.

You can get around that by using a PHP script on the site to fetch files from remote sites for you though.
Re: sonia playing audio from a remote server
Reply #2 - May 22nd, 2006, 12:39pm
 
well the audio file is on the same server as the applet but im recieving a long exception stack. i tried both relative and absolute links. i traced the get request from the browser and it reads GET /work/test/applet/data/http://mydomain/work/test/audio/test.wav HTTP/1.1. i tried the url w/ and w/ out www but no diferrences noticed. why is the should i create a data folder inside the applet folder and store the audio there?
Page Index Toggle Pages: 1