Optionalcontentif content length is known this will avoid needing to detect it
Optionalcontentspecify content type of video
OptionaldefaultDefault content type to use if cannot be determined from input blob/filename
OptionaldisableBlock any loads of external resources (file paths/network fetch). If true then you must explicitly pass in Flie/Blob or ReadableStreams
Optionalfilenamespecify filename of video as reported to Rev
Optionalresponsespecify body type when decoding. Use 'stream' to skip parsing body completely
Options are:
undefined (default): autodetect - object if json response (most common), text if text response type, otherwise a ReadableStream'json': return a json object (most common type of response)'text': return as string'blob': return as a Blob'stream': return the response.body as-is with no processing (may be NodeJS Readable if using node-fetch polyfill)'webstream': return response.body as a ReadableStream'nativestream': return response.body as a NodeJS Readable stream if using node, otherwise ReadableStreamOptionalthrowwhether to throw errors or not for HTTP error response codes.
Optionalusenode-only - bypass dealing with content length and just upload as transfer-encoding: chunked
Allows customizing the fetch RequestInit options, as well as setting the type of response