Skip to content

Commit

Permalink
feat(FEC-11399): allow ignoring server config (#153)
Browse files Browse the repository at this point in the history
Add flag to provider configuration to allow ignoring server config.
Related PRs:

- feat(FEC-11399): allow ignoring server config kaltura-player-js#480
- feat(FEC-11399): allow ignoring server config playkit-js-dual-screen#29

Fixes FEC-11399.
  • Loading branch information
SivanA-Kaltura authored Aug 17, 2021
1 parent 4f06110 commit eb57643
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 11 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ var provider = new playkit.providers.ott.Provider(config);
uiConfId: number, // optional
env: ProviderEnvConfigObject, // optional
networkRetryParameters: ProviderNetworkRetryParameters, // optional
filterOptions: ProviderFilterOptionsObject // optional
filterOptions: ProviderFilterOptionsObject, // optional
ignoreServerConfig: boolean // optional
}
```

Expand Down Expand Up @@ -192,3 +193,12 @@ var provider = new playkit.providers.ott.Provider(config);
> ```
>
> ##### Description: Defines whether after a livestream ends there should be a redirect to the VOD entry or not.
> ##
>
> ### config.ignoreServerConfig
>
> ##### Type: `boolean`
>
>
> ##### Description: Instructs the player to ignore the server configuration.
3 changes: 2 additions & 1 deletion flow-typed/types/provider-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ declare type ProviderOptionsObject = {
uiConfId?: number,
env?: ProviderEnvConfigObject,
networkRetryParameters?: ProviderNetworkRetryParameters,
filterOptions?: ProviderFilterOptionsObject
filterOptions?: ProviderFilterOptionsObject,
ignoreServerConfig?: boolean
};

0 comments on commit eb57643

Please sign in to comment.