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: | Media | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |