From 8fe604a66366099733cd0c70f453ce7978a78202 Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Mon, 1 Oct 2018 14:49:59 -0700 Subject: [PATCH] remove currentTime set in song.js for now --- src/components/song.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/song.js b/src/components/song.js index 63c3f8b..fa77c5b 100644 --- a/src/components/song.js +++ b/src/components/song.js @@ -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 : ''; }