Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sample Feature Request]: audio volume control #3683

Closed
novac42 opened this issue Aug 3, 2023 · 0 comments
Closed

[Sample Feature Request]: audio volume control #3683

novac42 opened this issue Aug 3, 2023 · 0 comments

Comments

@novac42
Copy link
Contributor

novac42 commented Aug 3, 2023

Describe the feature/enhancement you need

I need a feature that controls the audio volume of the web component. Probably range from 0.0 (meaning 0%) to 1.0 (meaning 100%), but you might decide to also allow values greater than 100% because some volume controls do actually support "overdrive" or "boost" volumes, especially in cases where the source audio material may contain quiet sounds.

App background

Our app plays training video in kiosk

The scenario/use case where you would use this feature

For example, we have alert/notifications sounds (outside of web) that should play at 100% volume while the web component should be 30%.

Importance

Impactful. My app's user experience would be significantly compromised without it.

Timeline

Pressing - Within 1 year

Suggested implementation

Can an AudioVolume property (equivalent to the following C# snippet) be added to WebView2?

class WebView2
{
    ...
    public double AudioVolume { get; set; }
    // Optional:   public bool IsAudioVolumeMuted { get; set; }
    ...
}

Workaround

no workaround so far

@novac42 novac42 added the feature request feature request label Aug 3, 2023
@novac42 novac42 closed this as completed Aug 3, 2023
@novac42 novac42 added Tip! and removed feature request feature request labels Aug 3, 2023
@MicrosoftEdge MicrosoftEdge locked and limited conversation to collaborators Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant