Video ID.
Optional
opts: VideoFetchOptions = ...Video fetch options.
Video object.
fetchVideo
Fetches video data.
await InvidJS.fetchVideo(instance, "id");
await InvidJS.fetchVideo(instance, "id", {region: "US"});
Generated using TypeDoc
Instance to fetch data from.