@applicaster/quick-brick-player 16.0.0-alpha.8114431136 → 16.0.0-alpha.8225069933

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": "16.0.0-alpha.8114431136",
3
+ "version": "16.0.0-alpha.8225069933",
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": "16.0.0-rc.93",
38
+ "@applicaster/quick-brick-mobile-transport-controls": "16.0.0-rc.118",
39
39
  "@applicaster/quick-brick-tv-transport-controls": "16.0.0-rc.69",
40
- "@applicaster/zapp-react-native-tvos-app": "16.0.0-alpha.8114431136",
41
- "@applicaster/zapp-react-native-ui-components": "16.0.0-alpha.8114431136",
42
- "@applicaster/zapp-react-native-utils": "16.0.0-alpha.8114431136",
40
+ "@applicaster/zapp-react-native-tvos-app": "16.0.0-alpha.8225069933",
41
+ "@applicaster/zapp-react-native-ui-components": "16.0.0-alpha.8225069933",
42
+ "@applicaster/zapp-react-native-utils": "16.0.0-alpha.8225069933",
43
43
  "query-string": "7.1.3",
44
44
  "shaka-player": "4.3.5",
45
45
  "typeface-montserrat": "^0.0.54",
@@ -1327,10 +1327,16 @@ export default class VideoPlayer extends React.Component<
1327
1327
  controlsAlwaysVisible={castAction?.state?.connected}
1328
1328
  playNextData={this.getPlayNextData()}
1329
1329
  needToShowDefaultControls={needToShowDefaultControls}
1330
+ vertical={this.isVerticalPlayer()}
1330
1331
  />
1331
1332
  ) : null;
1332
1333
  };
1333
1334
 
1335
+ // Single source for the vertical player flag: used by the player wrapper and the transport controls
1336
+ isVerticalPlayer = (): boolean => {
1337
+ return this.getPluginConfiguration()?.vertical_video_player || false;
1338
+ };
1339
+
1334
1340
  // Helper method for inline TV check
1335
1341
  isInlineTV = () => {
1336
1342
  const screenData = getTargetScreenDataFromEntry(this.props.playableItem);
@@ -1361,6 +1367,8 @@ export default class VideoPlayer extends React.Component<
1361
1367
  const isFullScreenAudioPlayer =
1362
1368
  pluginConfiguration?.full_screen_audio_player || false;
1363
1369
 
1370
+ const vertical = this.isVerticalPlayer();
1371
+
1364
1372
  const sharedWrapperViewProps = {
1365
1373
  style,
1366
1374
  entry,
@@ -1368,6 +1376,7 @@ export default class VideoPlayer extends React.Component<
1368
1376
  docked,
1369
1377
  isModal,
1370
1378
  pip: piped,
1379
+ vertical,
1371
1380
  layoutState: {
1372
1381
  inline,
1373
1382
  docked,