[wp-trac] [WordPress Trac] #36680: Audio player with preload="metadata" shows incorrect duration for audio files 1 hour or longer

WordPress Trac noreply at wordpress.org
Wed Apr 27 04:29:14 UTC 2016


#36680: Audio player with preload="metadata" shows incorrect duration for audio
files 1 hour or longer
--------------------------+-----------------------------
 Reporter:  Dexterity     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.5.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 For an audio file that's longer than one hour, using the audio player
 shortcode with preload="metadata" shows an incorrect duration for the
 audio when the page loads. The hours are chopped off. So an audio that is
 1:07:45 in duration will erroneously display 07:45 upon loading.

 Then when the audio file is played, the correct duration pops in, but this
 causes the volume control to disappear, so the volume can no longer be
 adjusted while the clip is playing.

 Many podcasts are longer than an hour in duration.

 For a demonstration of the bug, see audio 16 on this page, which is
 1:07:45 in duration:
 http://www.stevepavlina.com/audio/

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


More information about the wp-trac mailing list