@applicaster/quick-brick-player 12.0.7 → 12.0.8-alpha.5291442470
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 +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/quick-brick-player",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.8-alpha.5291442470",
|
|
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.7",
|
|
40
40
|
"@applicaster/quick-brick-tv-transport-controls": "12.0.4",
|
|
41
|
-
"@applicaster/zapp-react-native-tvos-app": "12.0.
|
|
42
|
-
"@applicaster/zapp-react-native-ui-components": "12.0.
|
|
43
|
-
"@applicaster/zapp-react-native-utils": "12.0.
|
|
41
|
+
"@applicaster/zapp-react-native-tvos-app": "12.0.8-alpha.5291442470",
|
|
42
|
+
"@applicaster/zapp-react-native-ui-components": "12.0.8-alpha.5291442470",
|
|
43
|
+
"@applicaster/zapp-react-native-utils": "12.0.8-alpha.5291442470",
|
|
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,6 +794,8 @@ export default class VideoPlayer extends React.Component<
|
|
|
794
794
|
const pictureInPictureEnabled =
|
|
795
795
|
this.props.pluginConfiguration?.pictureInPictureEnabled;
|
|
796
796
|
|
|
797
|
+
console.log("ANton rate", { rate });
|
|
798
|
+
|
|
797
799
|
const nativeProps = {
|
|
798
800
|
entry, // Must be passed first in list
|
|
799
801
|
...platformSpecificProps,
|
|
@@ -806,7 +808,6 @@ export default class VideoPlayer extends React.Component<
|
|
|
806
808
|
nowPlayingEnabled,
|
|
807
809
|
paused,
|
|
808
810
|
seek,
|
|
809
|
-
rate,
|
|
810
811
|
textTrackId,
|
|
811
812
|
liveSeekingEnabled,
|
|
812
813
|
liveCatchUpEnabled,
|
|
@@ -819,6 +820,10 @@ export default class VideoPlayer extends React.Component<
|
|
|
819
820
|
),
|
|
820
821
|
}; // rate temporary removed, because of bug with subtitles
|
|
821
822
|
|
|
823
|
+
if (!isAppleTV()) {
|
|
824
|
+
nativeProps.rate = rate;
|
|
825
|
+
}
|
|
826
|
+
|
|
822
827
|
if (
|
|
823
828
|
this.isReactNativeMethodsSupported() &&
|
|
824
829
|
RNPlayerManager?.[this.playerPluginId]?.play
|