mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 09:23:26 +00:00
Update .docs/content/2.essentials/4.using-streams.md
Co-authored-by: Jip Frijlink <jipfrijlink@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user