@applicaster/quick-brick-player 15.1.17 → 15.1.18-alpha.7239425075

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-player",
3
- "version": "15.1.17",
3
+ "version": "15.1.18-alpha.7239425075",
4
4
  "description": "Quick Brick Player",
5
5
  "main": "./src/index.ts",
6
6
  "types": "index.d.ts",
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "homepage": "https://github.com/applicaster/quickbrick#readme",
37
37
  "dependencies": {
38
- "@applicaster/quick-brick-mobile-transport-controls": "15.1.16",
38
+ "@applicaster/quick-brick-mobile-transport-controls": "15.1.18-alpha.7239425075",
39
39
  "@applicaster/quick-brick-tv-transport-controls": "15.1.9",
40
- "@applicaster/zapp-react-native-tvos-app": "15.1.17",
41
- "@applicaster/zapp-react-native-ui-components": "15.1.17",
42
- "@applicaster/zapp-react-native-utils": "15.1.17",
40
+ "@applicaster/zapp-react-native-tvos-app": "15.1.18-alpha.7239425075",
41
+ "@applicaster/zapp-react-native-ui-components": "15.1.18-alpha.7239425075",
42
+ "@applicaster/zapp-react-native-utils": "15.1.18-alpha.7239425075",
43
43
  "query-string": "7.1.3",
44
44
  "shaka-player": "4.3.5",
45
45
  "typeface-montserrat": "^0.0.54",
@@ -1306,10 +1306,16 @@ export default class VideoPlayer extends React.Component<
1306
1306
  controlsAlwaysVisible={castAction?.state?.connected}
1307
1307
  playNextData={this.getPlayNextData()}
1308
1308
  needToShowDefaultControls={needToShowDefaultControls}
1309
+ vertical={this.isVerticalPlayer()}
1309
1310
  />
1310
1311
  ) : null;
1311
1312
  };
1312
1313
 
1314
+ // Single source for the vertical player flag: used by the player wrapper and the transport controls
1315
+ isVerticalPlayer = (): boolean => {
1316
+ return this.getPluginConfiguration()?.vertical_video_player || false;
1317
+ };
1318
+
1313
1319
  // Helper method for inline TV check
1314
1320
  isInlineTV = () => {
1315
1321
  const screenData = getTargetScreenDataFromEntry(this.props.playableItem);
@@ -1340,6 +1346,8 @@ export default class VideoPlayer extends React.Component<
1340
1346
  const isFullScreenAudioPlayer =
1341
1347
  pluginConfiguration?.full_screen_audio_player || false;
1342
1348
 
1349
+ const vertical = this.isVerticalPlayer();
1350
+
1343
1351
  const sharedWrapperViewProps = {
1344
1352
  style,
1345
1353
  entry,
@@ -1347,6 +1355,7 @@ export default class VideoPlayer extends React.Component<
1347
1355
  docked,
1348
1356
  isModal,
1349
1357
  pip: piped,
1358
+ vertical,
1350
1359
  layoutState: {
1351
1360
  inline,
1352
1361
  docked,