@applicaster/quick-brick-player 12.0.13-rc.1 → 12.0.13-rc.3

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