NEW 208342
Refactor the interface in media element and media player to enter/exit video fullscreen and picture-in-picture
https://bugs.webkit.org/show_bug.cgi?id=208342
Summary Refactor the interface in media element and media player to enter/exit video ...
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.