Skip to content

Commit 11fb5c3

Browse files
authored
[MOO-1995 ] Update react-native-video to version 6.10.2 (#357)
2 parents 1489c53 + 06c143f commit 11fb5c3

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

packages/pluggableWidgets/video-player-native/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- We have updated `react-native-video` version to 6.10.2.
10+
- We have fixed an issue where videos were muted in iOS silent mode. The video player now plays sound even when the device is set to silent.
11+
912
## [6.1.1] - 2025-9-9
1013

1114
### Changed

packages/pluggableWidgets/video-player-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "video-player-native",
33
"widgetName": "VideoPlayer",
4-
"version": "6.1.1",
4+
"version": "6.1.2",
55
"license": "Apache-2.0",
66
"repository": {
77
"type": "git",
@@ -23,7 +23,7 @@
2323
"deprecated-react-native-prop-types": "^4.0.0",
2424
"react-native-system-navigation-bar": "2.6.3",
2525
"react-native-vector-icons": "10.2.0",
26-
"react-native-video": "6.10.0"
26+
"react-native-video": "6.10.2"
2727
},
2828
"devDependencies": {
2929
"@mendix/piw-utils-internal": "1.0.0",

packages/pluggableWidgets/video-player-native/src/VideoPlayer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ export function VideoPlayer(props: VideoPlayerProps<VideoStyle>): ReactElement {
168168
<Video
169169
{...videoProps}
170170
paused={!props.autoStart && !currentPlayTime}
171+
ignoreSilentSwitch="ignore"
171172
onLoad={data => {
172173
setStatus(StatusEnum.READY);
173174
setVideoAspectRatio(data.naturalSize.width / data.naturalSize.height);

packages/pluggableWidgets/video-player-native/src/__tests__/__snapshots__/VideoPlayer.spec.tsx.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ exports[`VideoPlayer VideoPlayerAndroid render video with controls 1`] = `
5454
>
5555
<Video
5656
controls={true}
57+
ignoreSilentSwitch="ignore"
5758
muted={false}
5859
onError={[Function]}
5960
onLoad={[Function]}
@@ -198,6 +199,7 @@ exports[`VideoPlayer VideoPlayerAndroid render video without controls if showCon
198199
>
199200
<Video
200201
controls={false}
202+
ignoreSilentSwitch="ignore"
201203
muted={false}
202204
onError={[Function]}
203205
onLoad={[Function]}
@@ -277,6 +279,7 @@ exports[`VideoPlayer hides the loading indicator after load 1`] = `
277279
>
278280
<Video
279281
controls={true}
282+
ignoreSilentSwitch="ignore"
280283
muted={false}
281284
onError={[Function]}
282285
onLoad={[Function]}
@@ -420,6 +423,7 @@ exports[`VideoPlayer load a video and calculate the aspect ratio 1`] = `
420423
>
421424
<Video
422425
controls={true}
426+
ignoreSilentSwitch="ignore"
423427
muted={false}
424428
onError={[Function]}
425429
onLoad={[Function]}
@@ -566,6 +570,7 @@ exports[`VideoPlayer renders a loading indicator 1`] = `
566570
>
567571
<Video
568572
controls={true}
573+
ignoreSilentSwitch="ignore"
569574
muted={false}
570575
onError={[Function]}
571576
onLoad={[Function]}
@@ -714,6 +719,7 @@ exports[`VideoPlayer shows the loading indicator if the source changes 1`] = `
714719
>
715720
<Video
716721
controls={true}
722+
ignoreSilentSwitch="ignore"
717723
muted={false}
718724
onError={[Function]}
719725
onLoad={[Function]}

packages/pluggableWidgets/video-player-native/src/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<package xmlns="http://www.mendix.com/package/1.0/">
3-
<clientModule name="VideoPlayer" version="6.1.1" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="VideoPlayer" version="6.1.2" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="VideoPlayer.xml" />
66
</widgetFiles>

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14478,13 +14478,13 @@ __metadata:
1447814478
languageName: node
1447914479
linkType: hard
1448014480

14481-
"react-native-video@npm:6.10.0":
14482-
version: 6.10.0
14483-
resolution: "react-native-video@npm:6.10.0"
14481+
"react-native-video@npm:6.10.2":
14482+
version: 6.10.2
14483+
resolution: "react-native-video@npm:6.10.2"
1448414484
peerDependencies:
1448514485
react: "*"
1448614486
react-native: "*"
14487-
checksum: 10/adec35c675a509b363e3c8ba8bc52a3a169e51de36b630bde0218b6b18713f05486154075562b06a35db8411f4fd3cb0f84f4cf0299194bd855126be71617eb2
14487+
checksum: 10/6846b6a019741663ebae0b7514e169aed61278b756d18cacc51d60e208dd098019db923be6c80a077975a57d219d79eeeef064b7f99aa54283a5aa9a1a2af4ba
1448814488
languageName: node
1448914489
linkType: hard
1449014490

@@ -17689,7 +17689,7 @@ __metadata:
1768917689
eslint: "npm:^7.32.0"
1769017690
react-native-system-navigation-bar: "npm:2.6.3"
1769117691
react-native-vector-icons: "npm:10.2.0"
17692-
react-native-video: "npm:6.10.0"
17692+
react-native-video: "npm:6.10.2"
1769317693
languageName: unknown
1769417694
linkType: soft
1769517695

0 commit comments

Comments
 (0)