@applicaster/quick-brick-player 12.0.0-alpha.3788876021 → 12.0.0-alpha.3804385444

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-alpha.3788876021",
3
+ "version": "12.0.0-alpha.3804385444",
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-alpha.3788876021",
39
+ "@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.49",
40
40
  "@applicaster/quick-brick-tv-transport-controls": "11.0.0-rc.133",
41
- "@applicaster/zapp-react-native-tvos-app": "12.0.0-alpha.3788876021",
42
- "@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.3788876021",
43
- "@applicaster/zapp-react-native-utils": "12.0.0-alpha.3788876021",
41
+ "@applicaster/zapp-react-native-tvos-app": "12.0.0-alpha.3804385444",
42
+ "@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.3804385444",
43
+ "@applicaster/zapp-react-native-utils": "12.0.0-alpha.3804385444",
44
44
  "keymirror": "^0.1.1",
45
45
  "query-string": "7.1.3",
46
46
  "react-native-web-linear-gradient": "1.1.2",
@@ -54,7 +54,7 @@ type Configuration = {
54
54
  };
55
55
 
56
56
  type Props = {
57
- children: React.ReactNode;
57
+ children?: React.ReactNode;
58
58
  inline?: boolean;
59
59
  docked?: boolean;
60
60
  configuration: Configuration;
@@ -298,7 +298,7 @@ export default function DefaultLayout(props: LayoutProps) {
298
298
  });
299
299
  }, 1000);
300
300
 
301
- // Clearing the interval when the component unmounts or dependencies changea
301
+ // Clearing the interval when the component unmounts or dependencies change
302
302
  return () => clearInterval(intervalId);
303
303
  } else {
304
304
  // Ensure the timeLeft state is set correctly if showCounter is false
@@ -310,12 +310,8 @@ export default function DefaultLayout(props: LayoutProps) {
310
310
 
311
311
  const liveSeekingEnabled = value("liveSeekingEnabled");
312
312
 
313
- const startTime = entry.extensions.start_time; // October 28, 2024, at 14:27 UTC
314
- const endTime = entry.extensions.end_time; // October 28, 2024, at 16:27 UTC
315
-
316
313
  const needsToShowProgressBar =
317
- (isLiveContent && (liveSeekingEnabled || (startTime && endTime))) ||
318
- !isLiveContent;
314
+ (isLiveContent && liveSeekingEnabled) || !isLiveContent;
319
315
 
320
316
  const defaultImageDimensions = React.useMemo(
321
317
  () =>
@@ -405,9 +401,6 @@ export default function DefaultLayout(props: LayoutProps) {
405
401
  playerState={playerState}
406
402
  disableFullscreen={true}
407
403
  sliderStyle={2}
408
- startTime={startTime}
409
- endTime={endTime}
410
- isLive={isLiveContent}
411
404
  />
412
405
 
413
406
  {showCounter && timeLeft >= 0 && (
@@ -1073,9 +1073,7 @@ export default class VideoPlayer extends React.Component<
1073
1073
  {...nativeProps}
1074
1074
  />
1075
1075
  )}
1076
- <AudioPlayerWrapper {...sharedWrapperViewProps}>
1077
- <></>
1078
- </AudioPlayerWrapper>
1076
+ <AudioPlayerWrapper {...sharedWrapperViewProps} />
1079
1077
  </View>
1080
1078
  ) : (
1081
1079
  <PlayerWrapper {...sharedWrapperViewProps}>