You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Play button does not change status if call via API or pause/play via device control.
Expected Behavior
// Fix for Amplitude errors - not change play button after media pause/play via control center of device
audioElement.addEventListener('pause', (event) => {
document.getElementById('play-pause').classList.remove('amplitude-playing');
document.getElementById('play-pause').classList.add('amplitude-paused');
Issue Description
Play button does not change status if call via API or pause/play via device control.
Expected Behavior
// Fix for Amplitude errors - not change play button after media pause/play via control center of device
audioElement.addEventListener('pause', (event) => {
document.getElementById('play-pause').classList.remove('amplitude-playing');
document.getElementById('play-pause').classList.add('amplitude-paused');
Steps To Reproduce
Lets try fix in core
AmplitudeJS Version
5.3.2
Browser Information
No response
Link To Where Your Issue Can Be Reproduced
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: