# wx.createVideoDecoder()

本接口仅适用于小游戏试玩，非小游戏标准接口

## 功能描述
创建视频解码器，可逐帧获取解码后的数据

## 返回值

[VideoDecoder](/minigame/dev/api/media/video-decoder/VideoDecoder.md)

## 示例代码

这里需要特别注意，视频 source 不能使用网络链接，只能使用包内文件。
