diff --git a/doc/ads.md b/doc/ads.md index 16de08922..7b2d25d76 100644 --- a/doc/ads.md +++ b/doc/ads.md @@ -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) diff --git a/doc/cast.md b/doc/cast.md index 9ee20c102..6a3429149 100644 --- a/doc/cast.md +++ b/doc/cast.md @@ -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 diff --git a/doc/creating-minimal-app.md b/doc/creating-minimal-app.md index e49ced49a..81b4674e2 100644 --- a/doc/creating-minimal-app.md +++ b/doc/creating-minimal-app.md @@ -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: diff --git a/doc/texttracks.md b/doc/texttracks.md index 2a67cfd8f..d18a5ee60 100644 --- a/doc/texttracks.md +++ b/doc/texttracks.md @@ -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 {