[Webkit-unassigned] [Bug 223195] [GStreamer] Videos start playing muted in epiphany with no unmute icon visible in tab, webkit_web_view_get_is_muted() returns incorrect results
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Mar 20 06:38:06 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=223195
--- Comment #13 from Philippe Normand <pnormand at igalia.com> ---
(In reply to Michael Catanzaro from comment #9)
> (In reply to Michael Catanzaro from comment #8)
> > So webkit_web_view_get_is_muted() and WebKitWebView:is-muted are returning
> > incorrect results.
>
> Sorry, Jan-Michael noticed this is a typo. There's nothing wrong with
> is-muted. The problem is WebKitWebView:is-playing-audio and
> webkit_web_view_is_playing_audio() return FALSE when the video is muted, but
> it needs to return TRUE.
MediaProducer::MediaStateFlags HTMLMediaElement::mediaState() const
{
...
if (hasAudio && !muted() && volume())
state |= IsPlayingAudio;
}
So that's why webkit_web_view_is_playing_audio() returns FALSE when the video is muted.
--
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/20210320/6c9ff728/attachment.htm>
More information about the webkit-unassigned
mailing list