Added custom timeruler and duration calculation management command

This commit is contained in:
Fergal Moran
2013-04-21 16:53:04 +01:00
parent 6182f26e1e
commit bb6f66163a
18 changed files with 1612 additions and 82 deletions

View File

@@ -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