Bug 192763

Summary: Need a way to stop background audio playback.
Product: WebKit Reporter: Yongjun Zhang <yongjun_zhang>
Component: Web AudioAssignee: Yongjun Zhang <yongjun_zhang>
Status: ASSIGNED    
Severity: Normal CC: 709922234, eric.carlson, jer.noble, jonlee
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add a settings to stop background audio playback. none

Yongjun Zhang
Reported 2018-12-17 10:54:29 PST
Sometimes a WebKit client might need to stop the background audio playback. It would be nice to provide a way for the client to do that.
Attachments
Add a settings to stop background audio playback. (7.15 KB, patch)
2018-12-17 11:08 PST, Yongjun Zhang
no flags
Yongjun Zhang
Comment 1 2018-12-17 10:54:43 PST
Yongjun Zhang
Comment 2 2018-12-17 11:08:19 PST
Created attachment 357455 [details] Add a settings to stop background audio playback.
709922234
Comment 3 2019-05-14 22:18:30 PDT
Does the Permissions API add "background-playback" to unify behavior? PWA that are now added to the home screen cannot play in the background by default, but apps like music players require this feature.
Note You need to log in before you can comment on or make changes to this bug.