[Webkit-unassigned] [Bug 219295] REGRESSION (iOS 14.2): Can't play html audio with muted attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 30 17:44:19 PST 2020


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

--- Comment #3 from Kyungmin <bkm412 at gmail.com> ---
(In reply to Jer Noble from comment #2)
> This could be a regression from
> http://trac.webkit.org/changeset/266844/webkit, "[Cocoa] PERF: Don't
> instantiate AVPlayer-based audio decoders or renderers if an element is
> initially muted."
> 
> Trying to determine the severity here; Kyungmin, what is your use case for
> playing a muted mp3 file?
> 
> (MP3 files themselves are strange, in that the duration of the file is not
> encoded into the metadata of the file; to discover the duration you have to
> run the decoder.)

We're making a chat-type novel, and we're letting background music come out at a certain point in time. However, all the media is in a muted state to prevent users from being surprised. The background music is based on the flow of the novel (playtime, atmosphere, etc.). At this time, users can infer the flow of this novel from the time of background music, and expect to hear the background music that fits the part they are currently reading by turning off the muted at any time.
However, the background music is not playing at the moment and the total time of the background music is not known, so it is not possible to display background music information to the user normally. The total duration is 1 second (we use the Math.ceil function), making the user confused as if it was a 1 second BGM. Because of this, we are using hacks that force us to release the mud and then play, which is a really bad development experience.

-- 
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/20201201/9727b588/attachment.htm>


More information about the webkit-unassigned mailing list