WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
54445
Webkit API provides no volume control
https://bugs.webkit.org/show_bug.cgi?id=54445
Summary
Webkit API provides no volume control
Haravikk
Reported
2011-02-15 03:57:51 PST
Title says it all really; the WebKit API doesn't seem to provide any way to control the volume of the content it's rendering, specially media files. This is a bit troublesome as it means that an application cannot easily control the volume of WebKit content, meaning you can end up with an application that has muted all other sound sources but WebKit will continue to play at the system's volume. This issue appears to affect Mac OS X the most, I expect the issue does exist in some form on other platforms, but they are better able to control sound output at an application level. In any event, it would be nice to be able to better control the volume of sound produced by WebKit.
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2011-02-24 10:59:44 PST
WebView has methods to get and set a media volume multiplier. I don't know why, but in the Mac port they are in WebViewPrivate.h: // Sets a master volume control for all media elements in the WebView. Valid values are 0..1. - (void)setMediaVolume:(float)volume; - (float)mediaVolume;
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug