---
name: "VideoContext.play"
mode: "api"
versionRequirements:
  - { name: "Base Library", version: "2.21.8" }
title: "NativeVideoContext.play - 播放视频"
---

## VideoContext.play

> [VERSION] Base Library >= 2.21.8

### Description

Play video

### Parameters

None


### Return Value

None


### Examples

#### Play video

```ts
const videoCtx = ty.createNativeVideoContext('myVideo');
videoCtx.play();
```
