Bug 149841 - Set the playback volume proportional to the visible area of the plugin.
Summary: Set the playback volume proportional to the visible area of the plugin.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 07:03 PDT by peavo
Modified: 2022-07-01 11:35 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2015-10-06 07:03:25 PDT
What do you think about setting the playback volume of plugins proportional to the visible area of the plugins?

This would create a nice fading effect when scrolling plugins in and out of the viewport.

It might not be easy to control the volume of individual plugins, though ...
Comment 1 Alexey Proskuryakov 2015-10-06 20:10:44 PDT
Plugins are sometimes used for audio only players. These could have only audio controls, or be invisible, using HTML controls.

I do not immediately see how to avoid breaking this use case.
Comment 2 peavo 2015-10-07 06:44:41 PDT
(In reply to comment #1)
> Plugins are sometimes used for audio only players. These could have only
> audio controls, or be invisible, using HTML controls.
> 
> I do not immediately see how to avoid breaking this use case.

Thanks for responding :)

This is a good point, and I'm not sure how this could be handled, either.
Maybe the volume adaption could only be applied to visible plugins with an area greater than zero? :)
Comment 3 Alexey Proskuryakov 2022-07-01 11:35:51 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit.

Please comment and/or reopen if this still affects WebKit in some way.