[wp-trac] [WordPress Trac] #30271: MEJS Audio Player Bug

WordPress Trac noreply at wordpress.org
Thu Nov 6 08:51:54 UTC 2014


#30271: MEJS Audio Player Bug
--------------------------+-----------------------------
 Reporter:  b9media       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.0
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30271>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list