@applicaster/quick-brick-player 12.0.0-rc.56 → 12.0.0-rc.57

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": "12.0.0-rc.56",
3
+ "version": "12.0.0-rc.57",
4
4
  "description": "Quick Brick Player",
5
5
  "main": "./src/index.ts",
6
6
  "types": "index.d.ts",
@@ -36,11 +36,11 @@
36
36
  },
37
37
  "homepage": "https://github.com/applicaster/quickbrick#readme",
38
38
  "dependencies": {
39
- "@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.51",
39
+ "@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.57",
40
40
  "@applicaster/quick-brick-tv-transport-controls": "11.0.0-rc.133",
41
- "@applicaster/zapp-react-native-tvos-app": "12.0.0-rc.56",
42
- "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.56",
43
- "@applicaster/zapp-react-native-utils": "12.0.0-rc.56",
41
+ "@applicaster/zapp-react-native-tvos-app": "12.0.0-rc.57",
42
+ "@applicaster/zapp-react-native-ui-components": "12.0.0-rc.57",
43
+ "@applicaster/zapp-react-native-utils": "12.0.0-rc.57",
44
44
  "keymirror": "^0.1.1",
45
45
  "query-string": "7.1.3",
46
46
  "react-native-web-linear-gradient": "1.1.2",
@@ -796,6 +796,7 @@ export default class VideoPlayer extends React.Component<
796
796
  style,
797
797
  castAction,
798
798
  controller,
799
+ startComponentsAnimation,
799
800
  } = this.props;
800
801
 
801
802
  const supportNativeCast = controller.supportNativeCast();
@@ -865,7 +866,10 @@ export default class VideoPlayer extends React.Component<
865
866
  : supportsNativeControls && !this.getPlayNextData();
866
867
 
867
868
  const shouldUseNativeControls =
868
- controls && !docked && !castAction?.state?.connected;
869
+ controls &&
870
+ !startComponentsAnimation &&
871
+ !docked &&
872
+ !castAction?.state?.connected;
869
873
 
870
874
  platformSpecificProps = {
871
875
  ...platformSpecificProps,
@@ -1036,6 +1040,7 @@ export default class VideoPlayer extends React.Component<
1036
1040
  extraInfoText={castAction?.state?.friendlyStatus}
1037
1041
  controlsAlwaysVisible={castAction?.state?.connected}
1038
1042
  playNextData={this.getPlayNextData()}
1043
+ nativeControls={!!controls}
1039
1044
  />
1040
1045
  ) : null;
1041
1046
  };