burjast wrote:Really horrific solutionNow subsonix doesn't work at all, problems with vhosts. When calling non-existing vhost ip:port/mediaplayer/music.swf file gets pulled from other wrong folder.
Server root: /
Subsonix root: stream/
when accessed via SERVER var, mediaplayer is opened from otherfolder/ location (even though access thorough ip is defaulted to /)
Strange problem, makes me dizzyFind another solution please, when changing var with vhost, page doesn't even fully load, so at this time I don't have solution for this.
For now just edit that line directly, and put in your server address manually, instead of javascript doing it, say that juke.php was located here: http://www.serverip.com:port/stream/juke.php , do this
- Code: Select all
swfobject.embedSWF('http://www.serverip.com:port/stream/mediaplayer/'+type+'.swf', 'player', w, h, '9', 'swfobject/expressInstall.swf', flashvars, params, attributes);
But replace it with your server address/port/directory


