Skip to content

Conversation

@Nimit012
Copy link

@Nimit012 Nimit012 commented Nov 13, 2025

Problem

Audio was intermittently not playing on iPhone when using HTMLAudioPlugin.

Root Cause

The canplaythrough event wasn't firing reliably on iPhone, which prevented the _loadedHandler from being invoked. This caused audio to fail loading silently without any error indication.

Solution

Added loadedmetadata event listener as a fallback to ensure the load handler is called on iPhone where canplaythrough is unreliable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant