Opened 11 years ago
Closed 10 years ago
#30271 closed defect (bug) (invalid)
MEJS Audio Player Bug
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.0 |
| Component: | Media | Keywords: | |
| Focuses: | javascript | Cc: |
Description
I've noticed that the built in audio player never finishing running the file mediaelement-and-player.min.js. I've only noticed the bug on iPhone 5 (my iPhone 4 is fine!).
However, it's a bit of a big issue as it means the jQuery on load event never gets fired.
I've disabled all plugins and reverted to TwentyFourteen and if you inspect the timeline you can see that the js file runs indefinitely.
The timeline suggests the issue is with the following function, at least that's where it gets stuck:
c.media.addEventListener("loadedmetadata", function() {
c.updateDuration && c.updateDuration();
c.updateCurrent &&
c.updateCurrent(); // this is the line it seems to fail on
if (!c.isFullScreen) {
c.setPlayerSize(c.width, c.height);
c.setControlsSize()
}
}, false);
I've only got an iPhone 4 and 5, so I don't know if the issue is the same on other devices.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi b9media - so sorry we missed this ticket. Is this still happening for you in 4.1?