We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b247c commit 59cdf90Copy full SHA for 59cdf90
src/howler.core.js
@@ -1466,9 +1466,14 @@
1466
1467
if (self.playing(ids[i])) {
1468
// Buffer needs to be refreshed if an active audio is playing as some browsers, like Firefox, will not loop otherwise
1469
+ if (typeof sound._node.bufferSource.stop === 'undefined') {
1470
+ sound._node.bufferSource.noteOff(0);
1471
+ } else {
1472
+ sound._node.bufferSource.stop(0);
1473
+ }
1474
+
1475
self._refreshBuffer(sound);
1476
- // Play the sound using the supported method.
1477
if (typeof sound._node.bufferSource.start === 'undefined') {
1478
sound._node.bufferSource.noteGrainOn(0, self.seek(ids[i]), 86400);
1479
} else {
0 commit comments