VideoContext.requestFullScreen(Object object)
Function Description
This function is used to enter full-screen mode.
Parameters
Object object
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
| direction | number | No | Sets the direction of the video in full-screen mode. If not specified, it will be based on the current screen orientation. |
Legal Values for direction
| Value | Type |
|---|---|
| 0 | Normal Portrait |
| 90 | Screen Rotate 90 Degrees Counterclockwise |
| -90 | Screen Rotate 90 Degrees Clockwise |