# VideoContext.requestFullScreen(Object object)

Start from base library version 1.4.0. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Support

Go to full screen. If you have custom content that needs to be displayed at full screen, place the content node in the video Node.

# parameter

# Object object

attribute type Default values Required Introductions Minimum version
direction number no Set the direction of the video at full screen. If not specified, it will be judged automatically according to the aspect ratio. 1.7.0

object.direction Legal value

value Introductions Minimum version
0 Normal vertical
90 The screen is 90 degrees counterclockwise
-90 Screen 90 degrees clockwise