@applicaster/zapp-react-native-ui-components 14.0.12 → 14.0.13-rc.0

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.
@@ -661,36 +661,38 @@ const PlayerContainerComponent = (props: Props) => {
661
661
  <PlayerFocusableWrapperView
662
662
  nextFocusDown={context.bottomFocusableId}
663
663
  >
664
- <Player
665
- source={{
666
- uri,
667
- entry: item,
668
- }}
669
- focused={isInlineTV ? true : undefined}
670
- autoplay={true}
671
- controls={false}
672
- disableCastAction={disableCastAction}
673
- docked={navigator.isVideoModalDocked()}
674
- entry={item}
675
- fullscreen={mode === VideoModalMode.FULLSCREEN}
676
- inline={inline}
677
- isModal={isModal}
678
- isTabletPortrait={appData.isTabletPortrait}
679
- muted={false}
680
- playableItem={item}
681
- playerEvent={playerEvent}
682
- playerId={state.playerId}
683
- pluginConfiguration={pluginConfiguration}
684
- ref={playerRef}
685
- toggleFullscreen={toggleFullscreen}
686
- style={videoStyle}
687
- playNextData={playNextData}
688
- setNextVideoPreloadThresholdPercentage={
689
- setNextVideoPreloadThresholdPercentage
690
- }
691
- >
692
- {renderApplePlayer(applePlayerProps)}
693
- </Player>
664
+ {Player ? (
665
+ <Player
666
+ source={{
667
+ uri,
668
+ entry: item,
669
+ }}
670
+ focused={isInlineTV ? true : undefined}
671
+ autoplay={true}
672
+ controls={false}
673
+ disableCastAction={disableCastAction}
674
+ docked={navigator.isVideoModalDocked()}
675
+ entry={item}
676
+ fullscreen={mode === VideoModalMode.FULLSCREEN}
677
+ inline={inline}
678
+ isModal={isModal}
679
+ isTabletPortrait={appData.isTabletPortrait}
680
+ muted={false}
681
+ playableItem={item}
682
+ playerEvent={playerEvent}
683
+ playerId={state.playerId}
684
+ pluginConfiguration={pluginConfiguration}
685
+ ref={playerRef}
686
+ toggleFullscreen={toggleFullscreen}
687
+ style={videoStyle}
688
+ playNextData={playNextData}
689
+ setNextVideoPreloadThresholdPercentage={
690
+ setNextVideoPreloadThresholdPercentage
691
+ }
692
+ >
693
+ {renderApplePlayer(applePlayerProps)}
694
+ </Player>
695
+ ) : null}
694
696
  </PlayerFocusableWrapperView>
695
697
 
696
698
  {state.error ? <ErrorDisplay error={state.error} /> : null}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "14.0.12",
3
+ "version": "14.0.13-rc.0",
4
4
  "description": "Applicaster Zapp React Native ui components for the Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,10 +28,10 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "14.0.12",
32
- "@applicaster/zapp-react-native-bridge": "14.0.12",
33
- "@applicaster/zapp-react-native-redux": "14.0.12",
34
- "@applicaster/zapp-react-native-utils": "14.0.12",
31
+ "@applicaster/applicaster-types": "14.0.13-rc.0",
32
+ "@applicaster/zapp-react-native-bridge": "14.0.13-rc.0",
33
+ "@applicaster/zapp-react-native-redux": "14.0.13-rc.0",
34
+ "@applicaster/zapp-react-native-utils": "14.0.13-rc.0",
35
35
  "fast-json-stable-stringify": "^2.1.0",
36
36
  "promise": "^8.3.0",
37
37
  "url": "^0.11.0",