Reported: on iPad Brave a shared video's audio still stopped when backgrounded, while youtube.com keeps playing. Root cause: routing the element's audio through createMediaElementSource pulls it out of the normal media pipeline the browser's background-playback feature (and iOS) hooks into, and iOS then suspends the AudioContext on background — the opposite of the goal. YouTube uses a plain media element + Media Session and lets the browser background it. So drop the Web Audio graph entirely and keep only the Media Session metadata + play/pause handlers, leaving native background handling in charge. Frontend-only.
1 line
6 B
Plaintext
1 line
6 B
Plaintext
0.57.2 |