VRFS-1333 addPlayablePlay integration

This commit is contained in:
Jonathan Kolyer 2014-03-08 23:59:56 +00:00
parent 386fcbd9a3
commit e271feeb70
2 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,7 @@
if(lastTime > -1) {audioDomElement.currentTime = lastTime;}
audioDomElement.play();
isPlaying = true;
context.JK.Rest().addPlayablePlay(recordingId, 'JamRuby::Recording', claimedRecordingId, context.JK.currentUserId);
rest.addPlayablePlay(recordingId, 'JamRuby::Recording', claimedRecordingId, context.JK.currentUserId);
})
}

View File

@ -92,6 +92,7 @@
// keep this after transition, because any transition clears this timer
waitForBufferingTimeout = setTimeout(noBuffer, WAIT_FOR_BUFFER_TIMEOUT);
rest.addPlayablePlay(musicSessionId, 'JamRuby::MusicSessionHistory', null, context.JK.currentUserId);
}
})
}