Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/howler.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,12 @@
return;
}

// Fixed the issue of music not playing in iOS 14.0 30s,
// and music can no longer be played after that·
if (self.ctx.state === "suspended") {
return;
}

self._suspendTimer = null;
self.state = 'suspending';

Expand Down