remove currentTime set in song.js for now

This commit is contained in:
Kevin Ngo
2018-10-01 14:49:59 -07:00
parent 0ccb2e5ef9
commit 8fe604a663

View File

@@ -23,9 +23,6 @@ AFRAME.registerComponent('song', {
// Changed challenge.
if (data.challengeId !== oldData.challengeId) {
let songUrl = utils.getS3FileUrl(data.challengeId, 'song.ogg');
this.audio.addEventListener('canplaythrough', () => {
this.audio.currentTime = 0;
}, false);
this.audio.src = data.challengeId ? songUrl : '';
}