@applicaster/quick-brick-player 12.0.0-alpha.4534459584 → 12.0.0-alpha.5114122134
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.
|
|
3
|
+
"version": "12.0.0-alpha.5114122134",
|
|
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-
|
|
39
|
+
"@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.11",
|
|
40
40
|
"@applicaster/quick-brick-tv-transport-controls": "11.0.0-rc.133",
|
|
41
|
-
"@applicaster/zapp-react-native-tvos-app": "12.0.0-alpha.
|
|
42
|
-
"@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.
|
|
43
|
-
"@applicaster/zapp-react-native-utils": "12.0.0-alpha.
|
|
41
|
+
"@applicaster/zapp-react-native-tvos-app": "12.0.0-alpha.5114122134",
|
|
42
|
+
"@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.5114122134",
|
|
43
|
+
"@applicaster/zapp-react-native-utils": "12.0.0-alpha.5114122134",
|
|
44
44
|
"keymirror": "^0.1.1",
|
|
45
45
|
"react-native-web-linear-gradient": "1.1.2",
|
|
46
46
|
"shaka-player": "4.3.5",
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
|
|
11
11
|
import { playerManager } from "@applicaster/zapp-react-native-utils/appUtils";
|
|
12
12
|
|
|
13
|
-
import { useIsTablet } from "@applicaster/zapp-react-native-utils/reactHooks
|
|
13
|
+
import { useIsTablet } from "@applicaster/zapp-react-native-utils/reactHooks";
|
|
14
14
|
import {
|
|
15
15
|
forwardButton,
|
|
16
16
|
playbackButton,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import {
|
|
3
3
|
StyleSheet,
|
|
4
4
|
TouchableWithoutFeedback,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ViewStyle,
|
|
7
7
|
} from "react-native";
|
|
8
8
|
import * as R from "ramda";
|
|
9
|
-
import {
|
|
9
|
+
import { useIsTablet } from "@applicaster/zapp-react-native-utils/reactHooks";
|
|
10
10
|
|
|
11
11
|
import {
|
|
12
12
|
ContentInfo,
|
|
@@ -198,9 +198,7 @@ export default function DockedLayout(props: LayoutProps) {
|
|
|
198
198
|
playNextData,
|
|
199
199
|
} = props;
|
|
200
200
|
|
|
201
|
-
const
|
|
202
|
-
deviceInfo: { isTablet },
|
|
203
|
-
} = useDimensions("screen", { deviceInfo: true });
|
|
201
|
+
const isTablet = useIsTablet();
|
|
204
202
|
|
|
205
203
|
const visible = true;
|
|
206
204
|
const liveButton = Boolean(value("live_badge_enabled"));
|
package/src/Player/index.tsx
CHANGED
|
@@ -1005,10 +1005,12 @@ export default class VideoPlayer extends React.Component<
|
|
|
1005
1005
|
inline,
|
|
1006
1006
|
docked,
|
|
1007
1007
|
isModal,
|
|
1008
|
+
pip: this.state.piped,
|
|
1008
1009
|
layoutState: {
|
|
1009
1010
|
inline,
|
|
1010
1011
|
docked,
|
|
1011
1012
|
isModal,
|
|
1013
|
+
pip: this.state.piped,
|
|
1012
1014
|
},
|
|
1013
1015
|
configuration: this.getPluginConfiguration(),
|
|
1014
1016
|
fullscreen: fullscreen,
|