Bug 140524

Summary: HTMLMediaElement::isPlayingAudio() returns true even when the element is explicitly muted by script
Product: WebKit Reporter: Ada Chan <adachan>
Component: MediaAssignee: Ada Chan <adachan>
Status: RESOLVED FIXED    
Severity: Normal CC: jer.noble
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch kling: review+

Ada Chan
Reported 2015-01-15 16:03:45 PST
If the media element is explicitly muted in the DOM, we should not classify it as "playing audio". For example, there are websites that use a muted video to display an animated background, and that video element should be treated as "not playing audio". <rdar://problem/18644403>
Attachments
Patch (6.04 KB, patch)
2015-01-16 16:25 PST, Ada Chan
kling: review+
Ada Chan
Comment 1 2015-01-16 16:25:01 PST
Andreas Kling
Comment 2 2015-01-17 18:53:05 PST
Comment on attachment 244817 [details] Patch r=me
Ada Chan
Comment 3 2015-01-19 10:51:29 PST
Thanks Andreas! Committed: http://trac.webkit.org/changeset/178655
Note You need to log in before you can comment on or make changes to this bug.