Bug 181547

Summary: Only listen to webkitplaybacktargetavailabilitychanged when media controls are visible to the user
Product: WebKit Reporter: Antoine Quint <graouts>
Component: MediaAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch eric.carlson: review+

Antoine Quint
Reported 2018-01-11 11:21:27 PST
Listening for "webkitplaybacktargetavailabilitychanged" yields some increased power usage on iOS so we need to only listen to those when the controls are visible to the user.
Attachments
Patch (11.83 KB, patch)
2018-01-11 11:25 PST, Antoine Quint
eric.carlson: review+
Antoine Quint
Comment 1 2018-01-11 11:21:37 PST
Antoine Quint
Comment 2 2018-01-11 11:25:54 PST
Antoine Quint
Comment 3 2018-01-11 12:29:32 PST
Note You need to log in before you can comment on or make changes to this bug.