Function saveBlob

  • Parameters

    • instance: Instance

      Instance to fetch data from.

    • video: Video

      Video to fetch stream from.

    • source: Format

      Format to download.

    • Optional opts: StreamOptions = ...

      Save options.

    Returns Promise<Blob>

    A blob with the content.

    Name

    saveBlob

    Description

    Fetches a video as a Blob.

    Example

    await InvidJS.saveBlob(instance, video, format);
    

    Example

    await InvidJS.saveBlob(instance, video, format, {parts: 5});
    

Generated using TypeDoc