Bug 208342 - Refactor the interface in media element and media player to enter/exit video fullscreen and picture-in-picture
Summary: Refactor the interface in media element and media player to enter/exit video ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Peng Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-27 14:25 PST by Peng Liu
Modified: 2020-02-27 14:26 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peng Liu 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.