diff --git a/src/howler.core.js b/src/howler.core.js index 0e9dd019..c8bd1f47 100644 --- a/src/howler.core.js +++ b/src/howler.core.js @@ -1368,7 +1368,9 @@ if (index >= 0) { id = parseInt(args[0], 10); } else { - id = self._sounds[0]._id; + if (self._sounds.length > 0) { + id = self._sounds[0]._id; + } seek = parseFloat(args[0]); } } else if (args.length === 2) {