From 8589185c53c1eae488f0ecc25b403879c298eb93 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Fri, 29 Dec 2023 17:41:04 +0100 Subject: [PATCH 1/2] Update .docs/content/2.essentials/0.usage-on-x.md Co-authored-by: Jip Frijlink --- .docs/content/2.essentials/0.usage-on-x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docs/content/2.essentials/0.usage-on-x.md b/.docs/content/2.essentials/0.usage-on-x.md index abc4c1e..a8c3e80 100644 --- a/.docs/content/2.essentials/0.usage-on-x.md +++ b/.docs/content/2.essentials/0.usage-on-x.md @@ -23,7 +23,7 @@ const providers = makeProviders({ ## Browser client-side -Doing client-side usage of the provider package requires a hosted version of simple-proxy. +Using the provider package client-side requires a hosted version of simple-proxy. Read more [about proxy fetchers](./2.fetchers.md#using-fetchers-on-the-browser). ```ts From 9ad12286ae2ba60ad0ca85de4fa46f3b5779d81d Mon Sep 17 00:00:00 2001 From: mrjvs Date: Fri, 29 Dec 2023 17:41:29 +0100 Subject: [PATCH 2/2] Update .docs/content/2.essentials/4.using-streams.md Co-authored-by: Jip Frijlink --- .docs/content/2.essentials/4.using-streams.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docs/content/2.essentials/4.using-streams.md b/.docs/content/2.essentials/4.using-streams.md index eafbb94..8441dfb 100644 --- a/.docs/content/2.essentials/4.using-streams.md +++ b/.docs/content/2.essentials/4.using-streams.md @@ -75,7 +75,7 @@ If your target is set to `BROWSER`. There will never be required headers, as it' All streams have a list of captions at `Stream.captions`. The structure looks like this: ```ts type Caption = { - type: CaptionType; // language type, either 'srt' or 'vtt' + type: CaptionType; // file type, either 'srt' or 'vtt' id: string; // only unique per stream url: string; // the url pointing to the subtitle file hasCorsRestrictions: boolean; // If true, you will need to proxy it if you're running in a browser