Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/pluggableWidgets/video-player-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

- We have updated `react-native-video` version to 6.10.2.
- 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.

## [6.1.1] - 2025-9-9

### Changed
Expand Down
4 changes: 2 additions & 2 deletions packages/pluggableWidgets/video-player-native/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video-player-native",
"widgetName": "VideoPlayer",
"version": "6.1.1",
"version": "6.1.2",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand All @@ -23,7 +23,7 @@
"deprecated-react-native-prop-types": "^4.0.0",
"react-native-system-navigation-bar": "2.6.3",
"react-native-vector-icons": "10.2.0",
"react-native-video": "6.10.0"
"react-native-video": "6.10.2"
},
"devDependencies": {
"@mendix/piw-utils-internal": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export function VideoPlayer(props: VideoPlayerProps<VideoStyle>): ReactElement {
<Video
{...videoProps}
paused={!props.autoStart && !currentPlayTime}
ignoreSilentSwitch="ignore"
onLoad={data => {
setStatus(StatusEnum.READY);
setVideoAspectRatio(data.naturalSize.width / data.naturalSize.height);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ exports[`VideoPlayer VideoPlayerAndroid render video with controls 1`] = `
>
<Video
controls={true}
ignoreSilentSwitch="ignore"
muted={false}
onError={[Function]}
onLoad={[Function]}
Expand Down Expand Up @@ -198,6 +199,7 @@ exports[`VideoPlayer VideoPlayerAndroid render video without controls if showCon
>
<Video
controls={false}
ignoreSilentSwitch="ignore"
muted={false}
onError={[Function]}
onLoad={[Function]}
Expand Down Expand Up @@ -277,6 +279,7 @@ exports[`VideoPlayer hides the loading indicator after load 1`] = `
>
<Video
controls={true}
ignoreSilentSwitch="ignore"
muted={false}
onError={[Function]}
onLoad={[Function]}
Expand Down Expand Up @@ -420,6 +423,7 @@ exports[`VideoPlayer load a video and calculate the aspect ratio 1`] = `
>
<Video
controls={true}
ignoreSilentSwitch="ignore"
muted={false}
onError={[Function]}
onLoad={[Function]}
Expand Down Expand Up @@ -566,6 +570,7 @@ exports[`VideoPlayer renders a loading indicator 1`] = `
>
<Video
controls={true}
ignoreSilentSwitch="ignore"
muted={false}
onError={[Function]}
onLoad={[Function]}
Expand Down Expand Up @@ -714,6 +719,7 @@ exports[`VideoPlayer shows the loading indicator if the source changes 1`] = `
>
<Video
controls={true}
ignoreSilentSwitch="ignore"
muted={false}
onError={[Function]}
onLoad={[Function]}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="VideoPlayer" version="6.1.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="VideoPlayer" version="6.1.2" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="VideoPlayer.xml" />
</widgetFiles>
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14478,13 +14478,13 @@ __metadata:
languageName: node
linkType: hard

"react-native-video@npm:6.10.0":
version: 6.10.0
resolution: "react-native-video@npm:6.10.0"
"react-native-video@npm:6.10.2":
version: 6.10.2
resolution: "react-native-video@npm:6.10.2"
peerDependencies:
react: "*"
react-native: "*"
checksum: 10/adec35c675a509b363e3c8ba8bc52a3a169e51de36b630bde0218b6b18713f05486154075562b06a35db8411f4fd3cb0f84f4cf0299194bd855126be71617eb2
checksum: 10/6846b6a019741663ebae0b7514e169aed61278b756d18cacc51d60e208dd098019db923be6c80a077975a57d219d79eeeef064b7f99aa54283a5aa9a1a2af4ba
languageName: node
linkType: hard

Expand Down Expand Up @@ -17689,7 +17689,7 @@ __metadata:
eslint: "npm:^7.32.0"
react-native-system-navigation-bar: "npm:2.6.3"
react-native-vector-icons: "npm:10.2.0"
react-native-video: "npm:6.10.0"
react-native-video: "npm:6.10.2"
languageName: unknown
linkType: soft

Expand Down