Skip to content

Commit

Permalink
video库修改rnoh包名
Browse files Browse the repository at this point in the history
Signed-off-by: leehom <[email protected]>
  • Loading branch information
leehom-liulihong committed Apr 10, 2024
1 parent aef2ae3 commit 8f59d6f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Binary file modified harmony/rn_video.har
Binary file not shown.
4 changes: 2 additions & 2 deletions harmony/rn_video/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"name": "@react-native-oh-tpl/react-native-video",
"description": "main cpai architecture",
"main": "index.ets",
"version": "5.2.1-0.2.3",
"version": "5.2.1-0.2.1",
"dependencies": {
"rnoh": "file:../rnoh"
"@rnoh/react-native-openharmony": "file:../rnoh"
}
}
2 changes: 1 addition & 1 deletion harmony/rn_video/src/main/ets/RNCVideo.ets
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
RNViewBase,
ComponentBuilderContext,
RNComponentFactory
} from 'rnoh'
} from '@rnoh/react-native-openharmony'

import { PlayPlayer } from './view/PlayPlayer';
import { VideoController } from './controller/VideoController';
Expand Down
4 changes: 2 additions & 2 deletions harmony/rn_video/src/main/ets/RNCVideoPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import {RNPackage, TurboModulesFactory} from 'rnoh/ts';
import type {TurboModule, TurboModuleContext} from 'rnoh/ts';
import {RNPackage, TurboModulesFactory} from '@rnoh/react-native-openharmony/ts';
import type {TurboModule, TurboModuleContext} from '@rnoh/react-native-openharmony/ts';
import {RNCVideoTurboModule} from './RNCVideoTurboModule';

class RNCVideoTurboModulesFactory extends TurboModulesFactory {
Expand Down
2 changes: 1 addition & 1 deletion harmony/rn_video/src/main/ets/RNCVideoTurboModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import {TurboModule, TurboModuleContext} from 'rnoh/ts';
import {TurboModule, TurboModuleContext} from '@rnoh/react-native-openharmony/ts';

export class RNCVideoTurboModule extends TurboModule {

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.3",
"version": "5.2.1-0.2.1",
"description": "A <Video /> element for react-native",
"harmony": {
"alias": "react-native-video"
Expand Down

0 comments on commit 8f59d6f

Please sign in to comment.