@applicaster/quick-brick-player 12.0.0-rc.63 → 12.0.0-rc.64
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 +4 -4
- package/src/Player/index.tsx +10 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/quick-brick-player",
|
|
3
|
-
"version": "12.0.0-rc.
|
|
3
|
+
"version": "12.0.0-rc.64",
|
|
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.0-rc.58",
|
|
40
40
|
"@applicaster/quick-brick-tv-transport-controls": "12.0.0-rc.62",
|
|
41
|
-
"@applicaster/zapp-react-native-tvos-app": "12.0.0-rc.
|
|
42
|
-
"@applicaster/zapp-react-native-ui-components": "12.0.0-rc.
|
|
43
|
-
"@applicaster/zapp-react-native-utils": "12.0.0-rc.
|
|
41
|
+
"@applicaster/zapp-react-native-tvos-app": "12.0.0-rc.64",
|
|
42
|
+
"@applicaster/zapp-react-native-ui-components": "12.0.0-rc.64",
|
|
43
|
+
"@applicaster/zapp-react-native-utils": "12.0.0-rc.64",
|
|
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
|
@@ -1106,7 +1106,11 @@ export default class VideoPlayer extends React.Component<
|
|
|
1106
1106
|
style={getStyle(playerDimensions)}
|
|
1107
1107
|
>
|
|
1108
1108
|
<AudioPlayer
|
|
1109
|
-
style={
|
|
1109
|
+
style={
|
|
1110
|
+
isTV()
|
|
1111
|
+
? getStyle(playerDimensions)
|
|
1112
|
+
: styles.playerSize
|
|
1113
|
+
}
|
|
1110
1114
|
audio_item={entry}
|
|
1111
1115
|
plugin_configuration={this.getPluginConfiguration()}
|
|
1112
1116
|
/>
|
|
@@ -1133,7 +1137,11 @@ export default class VideoPlayer extends React.Component<
|
|
|
1133
1137
|
{...nativeEvents}
|
|
1134
1138
|
{...nativeProps}
|
|
1135
1139
|
listener={this.props.listener}
|
|
1136
|
-
style={
|
|
1140
|
+
style={
|
|
1141
|
+
isTV()
|
|
1142
|
+
? getStyle(playerDimensions)
|
|
1143
|
+
: styles.playerSize
|
|
1144
|
+
}
|
|
1137
1145
|
pluginConfiguration={this.getPluginConfiguration()}
|
|
1138
1146
|
controller={this.props.controller}
|
|
1139
1147
|
>
|