@applicaster/quick-brick-player 13.0.0-rc.73 → 13.0.0-rc.74

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": "13.0.0-rc.73",
3
+ "version": "13.0.0-rc.74",
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": "13.0.0-rc.69",
39
+ "@applicaster/quick-brick-mobile-transport-controls": "13.0.0-rc.74",
40
40
  "@applicaster/quick-brick-tv-transport-controls": "13.0.0-rc.56",
41
- "@applicaster/zapp-react-native-tvos-app": "13.0.0-rc.73",
42
- "@applicaster/zapp-react-native-ui-components": "13.0.0-rc.73",
43
- "@applicaster/zapp-react-native-utils": "13.0.0-rc.73",
41
+ "@applicaster/zapp-react-native-tvos-app": "13.0.0-rc.74",
42
+ "@applicaster/zapp-react-native-ui-components": "13.0.0-rc.74",
43
+ "@applicaster/zapp-react-native-utils": "13.0.0-rc.74",
44
44
  "keymirror": "^0.1.1",
45
45
  "query-string": "7.1.3",
46
46
  "react-native-web-linear-gradient": "1.1.2",
@@ -791,8 +791,13 @@ export default class VideoPlayer extends React.Component<
791
791
  controls: shouldUseNativeControls,
792
792
  };
793
793
 
794
+ const isFullScreenAudioPlayer =
795
+ this.getPluginConfiguration()?.["full_screen_audio_player"] || false;
796
+
797
+ const isAudioPlayer = isFullScreenAudioPlayer && isAudioItem;
798
+
794
799
  const pictureInPictureEnabled =
795
- this.props.pluginConfiguration?.pictureInPictureEnabled;
800
+ this.props.pluginConfiguration?.pictureInPictureEnabled && !isAudioPlayer;
796
801
 
797
802
  const nativeProps = {
798
803
  entry, // Must be passed first in list
@@ -966,9 +971,6 @@ export default class VideoPlayer extends React.Component<
966
971
  ) : null;
967
972
  };
968
973
 
969
- const isFullScreenAudioPlayer =
970
- this.getPluginConfiguration()?.["full_screen_audio_player"] || false;
971
-
972
974
  const sharedWrapperViewProps = {
973
975
  style,
974
976
  entry,