@applicaster/quick-brick-player 12.0.12-alpha.3532815044 → 12.0.12-rc.1

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.12-alpha.3532815044",
3
+ "version": "12.0.12-rc.1",
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-rc.0",
40
40
  "@applicaster/quick-brick-tv-transport-controls": "12.0.4",
41
- "@applicaster/zapp-react-native-tvos-app": "12.0.12-alpha.3532815044",
42
- "@applicaster/zapp-react-native-ui-components": "12.0.12-alpha.3532815044",
43
- "@applicaster/zapp-react-native-utils": "12.0.12-alpha.3532815044",
41
+ "@applicaster/zapp-react-native-tvos-app": "12.0.12-rc.1",
42
+ "@applicaster/zapp-react-native-ui-components": "12.0.12-rc.1",
43
+ "@applicaster/zapp-react-native-utils": "12.0.12-rc.1",
44
44
  "keymirror": "^0.1.1",
45
45
  "query-string": "7.1.3",
46
46
  "react-native-web-linear-gradient": "1.1.2",
@@ -127,6 +127,8 @@ const sleeps = [
127
127
  { label: "2 hours", value: 120 },
128
128
  ];
129
129
 
130
+ const edges: Edge[] = ["right", "left", "top"];
131
+
130
132
  export const AudioPlayerWrapper: React.FC<Props> = (props: Props) => {
131
133
  const player = usePlayer();
132
134
  const playerState = usePlayerState("audio-player-wrapper");
@@ -359,8 +361,6 @@ export const AudioPlayerWrapper: React.FC<Props> = (props: Props) => {
359
361
  player?.seekTo(0);
360
362
  }, [player]);
361
363
 
362
- const edges = React.useMemo<Edge[]>(() => ["right", "left", "top"], [docked]);
363
-
364
364
  const ContainerView = SafeAreaView;
365
365
 
366
366
  const MainContent = React.useMemo(() => {
@@ -722,7 +722,7 @@ export default class VideoPlayer extends React.Component<
722
722
 
723
723
  const isAudioItem =
724
724
  entry?.content?.type?.includes?.("audio") ||
725
- entry?.type?.value === "audio";
725
+ entry?.type?.value?.includes?.("audio");
726
726
 
727
727
  const getStyle = (dimensions) => {
728
728
  const generalStyles = isAudioItem ? styles.audio : styles.video;