videosphere
    Preparing search index...
    • Uploads a custom thumbnail for a YouTube live broadcast video via thumbnails.set.

      Parameters

      • accessToken: string

        OAuth access token with YouTube write scope.

      • videoId: string

        Underlying video id for the live broadcast.

      • fileBytes: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

        Thumbnail image bytes (JPEG or PNG).

      • contentType: string

        MIME type of the thumbnail image.

      • Optionalsignal: AbortSignal

        Optional abort signal.

      Returns Promise<{ ok: true; thumbnailUrl: string } | { ok: false; details: string }>

      Default thumbnail URL from the API response, or upstream error details.