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