VRFS-1333 addPlayablePlay integration
This commit is contained in:
parent
386fcbd9a3
commit
e271feeb70
|
|
@ -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);
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue