@castlabs/react-native-prestoplay-ios-avplayerviewcontroller 1.2.0 → 1.2.1
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.
|
@@ -139,10 +139,12 @@ export class AVPlayerViewControllerExtension extends PlayerExtension {
|
|
|
139
139
|
this.popUpMenus.forEach((menu, _id) => {
|
|
140
140
|
transportBarActions.push(menu);
|
|
141
141
|
});
|
|
142
|
+
const infoBarActions = [...this.infoBarActions];
|
|
143
|
+
const contextualActions = [...this.contextualActions];
|
|
142
144
|
const controlsModule = TurboModuleRegistry.get('NativeApplePlayerControlsModule') ??
|
|
143
145
|
NativeModules.RNPrestoplayApplePlayerControlsModule;
|
|
144
146
|
controlsModule
|
|
145
|
-
.setAppleTvActions(this.player.id, transportBarActions,
|
|
147
|
+
.setAppleTvActions(this.player.id, transportBarActions, infoBarActions, contextualActions)
|
|
146
148
|
.then(() => {
|
|
147
149
|
this.logger.debug('AVPlayerViewControllerExtension: submitActions done');
|
|
148
150
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@castlabs/react-native-prestoplay-ios-avplayerviewcontroller",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"prestoplayAppleSdkVersion": "4.0.27",
|
|
5
5
|
"prestoplayAndroidSdkVersion": "4.4.8",
|
|
6
6
|
"prestoplayWebSdkVersion": "6.26.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"typescript": "5.0.4"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@castlabs/react-native-prestoplay": "1.2.
|
|
49
|
+
"@castlabs/react-native-prestoplay": "1.2.1"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"react native player",
|