@applicaster/quick-brick-player 13.0.0-alpha.2330880002 → 13.0.0-alpha.4585770583
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 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/quick-brick-player",
|
|
3
|
-
"version": "13.0.0-alpha.
|
|
3
|
+
"version": "13.0.0-alpha.4585770583",
|
|
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.118",
|
|
40
40
|
"@applicaster/quick-brick-tv-transport-controls": "12.0.0-rc.112",
|
|
41
|
-
"@applicaster/zapp-react-native-tvos-app": "13.0.0-alpha.
|
|
42
|
-
"@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.
|
|
43
|
-
"@applicaster/zapp-react-native-utils": "13.0.0-alpha.
|
|
41
|
+
"@applicaster/zapp-react-native-tvos-app": "13.0.0-alpha.4585770583",
|
|
42
|
+
"@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.4585770583",
|
|
43
|
+
"@applicaster/zapp-react-native-utils": "13.0.0-alpha.4585770583",
|
|
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
|
@@ -253,7 +253,12 @@ export default class VideoPlayer extends React.Component<
|
|
|
253
253
|
};
|
|
254
254
|
|
|
255
255
|
stopBackgroundPlayback = () => {
|
|
256
|
-
|
|
256
|
+
if (
|
|
257
|
+
this.isReactNativeMethodsSupported() &&
|
|
258
|
+
RNPlayerManager?.[this.playerPluginId]?.stopBackgroundPlayback
|
|
259
|
+
) {
|
|
260
|
+
RNPlayerManager?.[this.playerPluginId]?.stopBackgroundPlayback();
|
|
261
|
+
}
|
|
257
262
|
};
|
|
258
263
|
|
|
259
264
|
forward = (seekTime = SEEK_TIME) => {
|
|
@@ -995,7 +1000,6 @@ export default class VideoPlayer extends React.Component<
|
|
|
995
1000
|
ref={this._assignRoot}
|
|
996
1001
|
{...nativeEvents}
|
|
997
1002
|
{...nativeProps}
|
|
998
|
-
listener={this.props.listener}
|
|
999
1003
|
/>
|
|
1000
1004
|
)}
|
|
1001
1005
|
<AudioPlayerWrapper {...sharedWrapperViewProps} />
|