Er-Api SDK - v1.0.7
    Preparing search index...

    Function ermp4

    • Download video in MP4 format using ER-MP4 endpoint.

      Parameters

      • u: string

        The URL of the video source to be downloaded as MP4.

      Returns Promise<DownloadResponse>

      The response data containing download links and metadata.

      const result = await ermp4("https://youtube.com/watch?v=xxxx");
      console.log(result.videoUrl);