Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanhaevre authored and tvanlaerhoven committed Feb 22, 2024
1 parent 91076ba commit 6887e14
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/ads.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ details.

##### 2.x versions: Add feature flag to config

To enable Google IMA on react-native-theoplayer 2.x versions, you can add the "GOOGLE_IMA" [feature flag](./creating-minimal-app.md#getting-started-on-ios-and-tvos) to react-native-theoplayer.json
To enable Google IMA on react-native-theoplayer 2.x versions, you can add the "GOOGLE_IMA" [feature flag](./creating-minimal-app.md#getting-started-on-ios-and-tvos) to react-native-theoplayer.json (or theoplayer-config.json)

</details>

Expand Down
2 changes: 1 addition & 1 deletion doc/cast.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ details.

##### 2.x versions: Add feature flag to config

To enable Chromecast on react-native-theoplayer 2.x versions, you can add the "CHROMECAST" [feature flag](./creating-minimal-app.md#getting-started-on-ios-and-tvos) to react-native-theoplayer.json
To enable Chromecast on react-native-theoplayer 2.x versions, you can add the "CHROMECAST" [feature flag](./creating-minimal-app.md#getting-started-on-ios-and-tvos) to react-native-theoplayer.json (or theoplayer-config.json)

##### iOS Configuration

Expand Down
2 changes: 1 addition & 1 deletion doc/creating-minimal-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ React Native component updates and could affect performance in negative way.

To define which extra THEOplayer integrations need to be loaded for additional features (currently: IMA ads and/or chromecast) a config file needs to be added to you application folder:

Create a json file at **[YourApplicationFolder]/react-native-theoplayer.json** (Should be on the same level as the node_modules folder)
Create a json file **[YourApplicationFolder]/react-native-theoplayer.json**, or **[YourApplicationFolder]/theoplayer-config.json**, on the same level as the node_modules folder (both alternatives offer the same functionality).

Edit the file to reflect the features required for your application. The following example adds Google IMA, Chromecast and Sideloaded textTracks to the setup. If one of these is out of your applications scope, you can leave it out to reduce the app's size. When using only basic functionality, leave the features array empty.
Example:
Expand Down
2 changes: 1 addition & 1 deletion doc/texttracks.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ player.source = {
#### iOS/tvOS

On iOS and tvOS, support for side-loaded tracks is provided by a separate connector, which is enabled by adding the
feature to the `react-native-theoplayer.json` file in your app folder.
feature to the `react-native-theoplayer.json` (or `theoplayer-config.json`) file in your app folder.

```json
{
Expand Down

0 comments on commit 6887e14

Please sign in to comment.