# LivePlayerContext.requestFullScreen(Object object)

> __以 [Promise 风格](/miniprogram/dev/framework/app-service/api.md#异步-API-返回-Promise) 调用__：不支持
> 
> __小程序插件__：支持

> 相关文档: [live-player 组件](/miniprogram/dev/component/live-player.md)

## 功能描述

进入全屏

## 参数

### Object object


```json
[
  {
    "属性": "direction",
    "类型": "number",
    "默认值": "0",
    "必填": "否",
    "说明": "设置全屏时的方向",
    "子项": [
      {
        "合法值": "0",
        "说明": "正常竖向"
      },
      {
        "合法值": "90",
        "说明": "屏幕逆时针90度"
      },
      {
        "合法值": "-90",
        "说明": "屏幕顺时针90度"
      }
    ]
  },
  {
    "属性": "success",
    "类型": "function",
    "默认值": "",
    "必填": "否",
    "说明": "接口调用成功的回调函数"
  },
  {
    "属性": "fail",
    "类型": "function",
    "默认值": "",
    "必填": "否",
    "说明": "接口调用失败的回调函数"
  },
  {
    "属性": "complete",
    "类型": "function",
    "默认值": "",
    "必填": "否",
    "说明": "接口调用结束的回调函数（调用成功、失败都会执行）"
  }
]
```
