Files
dss/index.html
2013-07-02 21:24:13 +01:00

32 lines
1.2 KiB
HTML
Executable File

if (!com) var com = {};
if (!com.podnoms) com.podnoms = {};
com.podnoms.settings = {
CHAT_HOST: 'www.deepsouthsounds.com:8081',
REALTIME_HOST: 'www.deepsouthsounds.com:8081',
REALTIME_PORT: 'www.deepsouthsounds.com:8081',
urlRoot: '/api/v1/',
liveStreamRoot: 'http://rad.deepsouthsounds.com:8000/dss_320_mp3',
streamInfoUrl: 'http://rad.deepsouthsounds.com:8000/dss_320_mp3',
volume: '50',
smDebugMode: false,
isDebug: false,
drawTimelineOnMix: false,
staticUrl: 'http://static.podnoms.com/',
urlArgs: false ? "" : "bust="+ (new Date()).getTime(),
currentUser: -1,
/** simple helper to take an api JSON object and initialise a player item */
setupPlayerWrapper: function (id, stream_url, el) {
com.podnoms.player.setupPlayer({
id: id,
boundingEl: $('#mix-container-' + id, el),
waveFormEl: $('#waveform-' + id, el),
playHeadEl: $('#playhead-player-' + id, el),
loadingEl: $('#progress-player-' + id, el),
seekHeadEl: $('#player-seekhead', el),
playButtonEl: $('#play-pause-button-small-' + id, el),
url: stream_url || ""
});
}
};