@brandbrigade/ott-bb-player 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/OTTPlayer.js +8 -8
- package/package.json +5 -6
package/README.md
CHANGED
|
@@ -18,7 +18,10 @@ const bbPlayer = new BB.OTTPlayer(
|
|
|
18
18
|
frameRate, // e.g., 30000/1001 for 29.97 fps
|
|
19
19
|
{
|
|
20
20
|
gameId: 'game_identifier',
|
|
21
|
-
augmentation: { channelName: 'channel_name' }
|
|
21
|
+
augmentation: { channelName: 'channel_name' },
|
|
22
|
+
// Optional pass-through context, forwarded to the BB backend
|
|
23
|
+
// as the `x-tgi-ctx` request header (JSON-stringified).
|
|
24
|
+
additionalDetails: { }
|
|
22
25
|
}
|
|
23
26
|
);
|
|
24
27
|
```
|
|
@@ -211,4 +214,7 @@ Implemented destroy method to properly dispose OTTPlayer instances
|
|
|
211
214
|
|
|
212
215
|
**Version v1.1.1** -
|
|
213
216
|
- Fix no augmentation when showAugmentationStatus: false
|
|
214
|
-
- Reset ads to default if no arguments provided to setAd()
|
|
217
|
+
- Reset ads to default if no arguments provided to setAd()
|
|
218
|
+
|
|
219
|
+
**Version v1.1.6** -
|
|
220
|
+
- Added optional `additionalDetails` option forwarded as the `x-tgi-ctx` header on ad profile requests
|