Skip to content

Commit

Permalink
Merge pull request #18 from longgegege/sig
Browse files Browse the repository at this point in the history
fix:修改版本好为5.2.1-0.2.6,修改video精准seek问题
  • Loading branch information
xbh0902 authored Jun 6, 2024
2 parents 44f149d + 146a23b commit ebbbe33
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified harmony/rn_video.har
Binary file not shown.
2 changes: 1 addition & 1 deletion harmony/rn_video/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "@react-native-oh-tpl/react-native-video",
"description": "main cpai architecture",
"main": "index.ets",
"version": "5.2.1-0.2.5",
"version": "5.2.1-0.2.6",
"dependencies": {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export class VideoController {
this.status === CommonConstants.STATUS_PAUSE ||
this.status === CommonConstants.STATUS_COMPLETED
) {
this.avPlayer.seek(this.seekTime);
this.avPlayer.seek(this.seekTime, media.SeekMode.SEEK_CLOSEST);
Logger.debug(`RNOH in ctrl avPlayer.seek`);
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-oh-tpl/react-native-video",
"version": "5.2.1-0.2.5",
"version": "5.2.1-0.2.6",
"description": "A <Video /> element for react-native",
"harmony": {
"alias": "react-native-video"
Expand Down

0 comments on commit ebbbe33

Please sign in to comment.