@applicaster/quick-brick-player 12.0.0-alpha.5135101838 → 12.0.0-alpha.5208030571
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 +6 -6
- package/src/Player/index.tsx +5 -4
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.5208030571",
|
|
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-rc.
|
|
40
|
-
"@applicaster/quick-brick-tv-transport-controls": "
|
|
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.
|
|
39
|
+
"@applicaster/quick-brick-mobile-transport-controls": "12.0.0-rc.51",
|
|
40
|
+
"@applicaster/quick-brick-tv-transport-controls": "12.0.0-alpha.5208030571",
|
|
41
|
+
"@applicaster/zapp-react-native-tvos-app": "12.0.0-alpha.5208030571",
|
|
42
|
+
"@applicaster/zapp-react-native-ui-components": "12.0.0-alpha.5208030571",
|
|
43
|
+
"@applicaster/zapp-react-native-utils": "12.0.0-alpha.5208030571",
|
|
44
44
|
"keymirror": "^0.1.1",
|
|
45
45
|
"query-string": "7.1.3",
|
|
46
46
|
"react-native-web-linear-gradient": "1.1.2",
|
package/src/Player/index.tsx
CHANGED
|
@@ -794,11 +794,11 @@ export default class VideoPlayer extends React.Component<
|
|
|
794
794
|
isTabletPortrait,
|
|
795
795
|
muted,
|
|
796
796
|
style,
|
|
797
|
-
castAction
|
|
797
|
+
castAction,
|
|
798
|
+
controller,
|
|
798
799
|
} = this.props;
|
|
799
800
|
|
|
800
|
-
|
|
801
|
-
const supportNativeCast = this.props.playerPluginIdentifier === "quick-brick-player-brightcove";
|
|
801
|
+
const supportNativeCast = controller.supportNativeCast();
|
|
802
802
|
|
|
803
803
|
const { audioTrackId, keyEvent, paused, seek, textTrackId, rate } =
|
|
804
804
|
this.state;
|
|
@@ -864,7 +864,8 @@ export default class VideoPlayer extends React.Component<
|
|
|
864
864
|
? supportsNativeControls && !isInlineTV && !this.getPlayNextData()
|
|
865
865
|
: supportsNativeControls && !this.getPlayNextData();
|
|
866
866
|
|
|
867
|
-
const shouldUseNativeControls =
|
|
867
|
+
const shouldUseNativeControls =
|
|
868
|
+
controls && !docked && !castAction?.state?.connected;
|
|
868
869
|
|
|
869
870
|
platformSpecificProps = {
|
|
870
871
|
...platformSpecificProps,
|