Bug 208342

Summary: Refactor the interface in media element and media player to enter/exit video fullscreen and picture-in-picture
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: NEW    
Severity: Normal CC: eric.carlson, jer.noble
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Peng Liu
Reported 2020-02-27 14:25:53 PST
Currently, we use setVideoFullscreenLayer(PlatformLayer* platformLayer, WTF::Function<void()>&& completionHandler) in media element and media player to enter and exit video fullscreen/picture-in-picture. When the platformLayer is valid, we will enter fullscreen/picture-in-picture. When it is a NULL pointer, we will exit fullscreen/picture-in-picture. We had better add some new interfaces to implement that.
Attachments
Note You need to log in before you can comment on or make changes to this bug.