Skip to content

Commit 40b2bf7

Browse files
Calling pickAndPlayAudioTag from resume method
1 parent 9e7ccb1 commit 40b2bf7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ var HTML5AudioSound = new Class({
7070
return false;
7171
}
7272
// \/\/\/ isPlaying = true, isPaused = false \/\/\/
73-
// TODO implement resume method
73+
if (!this.pickAndPlayAudioTag()) {
74+
return false;
75+
}
7476
this.events.dispatch(new SoundEvent(this, 'SOUND_RESUME'));
7577
return true;
7678
},

0 commit comments

Comments
 (0)