[Webkit-unassigned] [Bug 137305] New: Calling WebCore::Page::setMediaVolume(0) does not mute videos as expected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 1 11:25:31 PDT 2014


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

           Summary: Calling WebCore::Page::setMediaVolume(0) does not mute
                    videos as expected
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adachan at apple.com
                CC: eric.carlson at apple.com, adachan at apple.com,
                    jer.noble at apple.com


I have a simple test page with a video element in it:

<div id=target style="border: solid;">
    <video src="http://movies.apple.com/movies/us/apple/ipoditunes/2007/touch/ads/apple_ipodtouch_touch_r640-9cie.mov" autoplay controls></video>
</div>

I set the page's media volume to 0 with WKPageSetMediaVolume(0).  But I can still hear the video playing.

Looking at HTMLMediaElement::updateVolume(), it looks like the volume multiplier is only applied if m_volumeInitialized is true, and in this case it's not.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list