Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit ba50301

Browse files
authored
Merge pull request #133 from suilyy/sig
pre-release: @react-native-oh-tpl/react-native-video@5.2.3-rc.1
2 parents c26be48 + ef9c15f commit ba50301

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

harmony/rn_video.har

197 Bytes
Binary file not shown.

harmony/rn_video/oh-package.json5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"name": "@react-native-oh-tpl/react-native-video",
66
"description": "main cpai architecture",
77
"main": "index.ets",
8-
"version": "5.2.2",
8+
"version": "5.2.3-rc.1",
99
"dependencies": {
1010
"@rnoh/react-native-openharmony": "file:../react_native_openharmony.har"
1111
}
12-
}
12+
}

harmony/rn_video/src/main/ets/controller/VideoController.ets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export class VideoController {
362362
this.status === CommonConstants.STATUS_PAUSE ||
363363
this.status === CommonConstants.STATUS_COMPLETED
364364
) {
365-
this.avPlayer.setVolume(handleBoundaryVolume(currentVolume));
365+
this.avPlayer.setVolume(this.handleBoundaryVolume(currentVolume));
366366
Logger.debug(TAG, `switchMuted2,currentVolume= ${JSON.stringify(currentVolume)}`);
367367
}
368368

@@ -429,7 +429,7 @@ export class VideoController {
429429
currentVolume = 0
430430
}
431431
Logger.debug(TAG, `updateProp volume, ${JSON.stringify(this.playerThis.volume)}`);
432-
this.avPlayer.setVolume(handleBoundaryVolume(this.playerThis.volume)); /* 更新音量 */
432+
this.avPlayer.setVolume(this.handleBoundaryVolume(this.playerThis.volume)); /* 更新音量 */
433433
Logger.debug(TAG, `updateProp resizeMode, ${JSON.stringify(this.playerThis.resizeMode)}`);
434434
/* 更新 resizeMode */
435435
this.convertResizeMode(this.playerThis.resizeMode);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-oh-tpl/react-native-video",
3-
"version": "5.2.2",
3+
"version": "5.2.3-rc.1",
44
"description": "A <Video /> element for react-native",
55
"harmony": {
66
"alias": "react-native-video"

0 commit comments

Comments
 (0)