minigame-std
    Preparing search index...

    Function isVideoFrameSourceSupported

    • 判断当前平台是否支持视频帧源。

      Returns boolean

      是否支持创建 VideoFrameSource。

      2.2.0

      if (video.isVideoFrameSourceSupported()) {
      const sourceRes = video.createVideoFrameSource({ source: 'https://example.com/video.mp4' });
      }