[Webkit-unassigned] [Bug 219167] New: HTML Audio Element does not play mp3s all the way. Stops at varying spots and restarts.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 19 10:19:28 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219167

            Bug ID: 219167
           Summary: HTML Audio Element does not play mp3s all the way.
                    Stops at varying spots and restarts.
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahumanimal at gmail.com
                CC: cdumez at apple.com

Created attachment 414600

  --> https://bugs.webkit.org/attachment.cgi?id=414600&action=review

Live Stream text appears rather than showing the Seek Bar for this mp3 file.

[Paying] Customers using our application on mobile report that in both Firefox and Safari on the iPhone HTML audio elements do not play all the way.  

Even when the user is on Wi-Fi, elements play to a certain point (about 30 or 45 seconds in) and stop.

The audio then loops from the beginning. 

As this is audio intended to "read the page" for the user it is quite annoying, because it does not read even close to the full page contents.  

This functionality appears to have been broken for a long while, and rather than showing a seek bar, 
the HTML Audio element displays the text "Live Stream" which is simply untrue.



The code we are using to provide this audio element has gone through several transformations, 
using the <source> tag, 
not using <source> and using src="~.mp3" instead, 
and trying variations on the supported tags for autoplay 
have not changed this experience for our end-user 
and while these elements operate fine on a desktop mac browsing via Firefox, 
or via a windows machine, 
they are not working on iOS mobile.

Here's some example code from our page, there's not much to see and not much to go wrong here, 
but the Audio HTML element on iOS mobile persists in its declaration of "Live Stream" and only playing back <45 sec of actual audio, 
many of the mp3s being multiple minutes, some being 15 minutes, in duration, all exhibit this "Live Stream" text behavior.

<audio class='audiolesson bottomout' style='width:100%' controls preload="auto" src='file.mp3' type="audio/mp3"></audio> 




How can I fix this for our customers using our site via iOS mobile?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201119/73858729/attachment.htm>


More information about the webkit-unassigned mailing list