[Webkit-unassigned] [Bug 138105] Implement new plug-in API for muting plug-ins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 4 15:40:18 PST 2014


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

Ada Chan <adachan at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|webkit-unassigned at lists.web |adachan at apple.com
                   |kit.org                     |

--- Comment #1 from Ada Chan <adachan at apple.com> ---
We are proposing a new plugin API to accomplish this:

When the browser wants to mute or unmute a plug-in it will call NPP_SetValue with the

NPNVmuteAudioBool = 4000

NPNVariable. The value parameter should be a pointer to an NPBool. The plug-in can query the browser for the value using NPN_GetValue.

Note that the value of “NPNVmuteAudioBool” does not affect the plug-in’s audio playing state. “NPPVpluginIsPlayingAudio” and "NPNVmuteAudioBool” can both be true at the same time. The plug-in may still be playing audio, but the user won’t be able to hear it if the plug-in 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/20141104/4fd6566b/attachment-0002.html>


More information about the webkit-unassigned mailing list