mirror of
https://github.com/fergalmoran/dss.git
synced 2026-02-08 17:13:58 +00:00
Added custom timeruler and duration calculation management command
This commit is contained in:
@@ -10,12 +10,15 @@ com.podnoms.settings = {
|
||||
streamInfoUrl:'http://{{ LIVE_STREAM_INFO_URL }}',
|
||||
volume:'{{ DEFAULT_AUDIO_VOLUME }}',
|
||||
smDebugMode: false,
|
||||
|
||||
/** simple helper to take an api JSON object and initialise a player item */
|
||||
setupPlayer:function (data, id) {
|
||||
com.podnoms.player.setupPlayer({
|
||||
id: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