mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-06 08:54:12 +00:00
Revamped theme
This commit is contained in:
@@ -5,24 +5,24 @@ com.podnoms.settings = {
|
||||
CHAT_HOST: '{{ CHAT_HOST }}',
|
||||
REALTIME_HOST: '{{ CHAT_HOST }}',
|
||||
REALTIME_PORT: '{{ CHAT_HOST }}',
|
||||
urlRoot:'{{ API_URL }}',
|
||||
liveStreamRoot:'http://{{ LIVE_STREAM_URL }}:{{ LIVE_STREAM_PORT }}/{{ LIVE_STREAM_MOUNT }}',
|
||||
streamInfoUrl:'http://{{ LIVE_STREAM_INFO_URL }}',
|
||||
volume:'{{ DEFAULT_AUDIO_VOLUME }}',
|
||||
urlRoot: '{{ API_URL }}',
|
||||
liveStreamRoot: 'http://{{ LIVE_STREAM_URL }}:{{ LIVE_STREAM_PORT }}/{{ LIVE_STREAM_MOUNT }}',
|
||||
streamInfoUrl: 'http://{{ LIVE_STREAM_INFO_URL }}',
|
||||
volume: '{{ DEFAULT_AUDIO_VOLUME }}',
|
||||
smDebugMode: '{{ SM_DEBUG_MODE }}',
|
||||
|
||||
drawTimelineOnMix: false,
|
||||
/** simple helper to take an api JSON object and initialise a player item */
|
||||
setupPlayer:function (data, id) {
|
||||
setupPlayer: function (data, id) {
|
||||
com.podnoms.player.setupPlayer({
|
||||
id:id,
|
||||
boundingEl:$('#mix-container-'+ id),
|
||||
waveFormEl:$('#waveform-' + id),
|
||||
playHeadEl:$('#playhead-player-' + id),
|
||||
loadingEl:$('#progress-player-' + id),
|
||||
timeLineEl:$('#player-timeline-' + id),
|
||||
seekHeadEl:$('#player-seekhead'),
|
||||
playButtonEl:$('#play-pause-button-small-' + id),
|
||||
url:data.stream_url
|
||||
id: id,
|
||||
boundingEl: $('#mix-container-' + id),
|
||||
waveFormEl: $('#waveform-' + id),
|
||||
playHeadEl: $('#playhead-player-' + id),
|
||||
loadingEl: $('#progress-player-' + id),
|
||||
timeLineEl: $('#player-timeline-' + id),
|
||||
seekHeadEl: $('#player-seekhead'),
|
||||
playButtonEl: $('#play-pause-button-small-' + id),
|
||||
url: data.stream_url
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user