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

React-native-video部分属性和方法没有鸿蒙化 #60

@longgegege

Description

@longgegege

Feature Request

React-native-video部分属性和方法没有鸿蒙化
属性:useTextureView trackId textTracks stereoPan selectedVideoTrack selectedTextTrack selectedAudioTrack reportBandwidth rate progressUpdateInterval preventsDisplaySleepDuringVideoPlayback preferredForwardBufferDuration playWhenInactive playInBackground pictureInPicture mixWithOthers minLoadRetryCount maxBitRate ignoreSilentSwitch id
hideShutterView headers fullscreenOrientation fullscreenAutorotate fullscreen filterEnabled filter currentPlaybackTime controls bufferConfig automaticallyWaitsToMinimizeStalling onPlaybackResume onPlaybackStalled audioOnly allowsExternalPlayback
方法:onAudioBecomingNoisy onBandwidthUpdate onExternalPlaybackChange onFullscreenPlayerWillPresent onFullscreenPlayerDidPresent onFullscreenPlayerWillDismiss onFullscreenPlayerDidDismiss onLoadStart onReadyForDisplay onPictureInPictureStatusChanged onPlaybackRateChange onSeek onRestoreUserInterfaceForPictureInPictureStop onTimedMetadata
实列方法: restoreUserInterfaceForPictureInPictureStop() save() presentFullscreenPlayer() dismissFullscreenPlayer()
已上属性和方法需要适配harmonyOS

Why it is needed

原库已适配以上的属性和方法

Possible implementation

以上方法在harmonyOS暂时不支持,没有对应功能的api,后续要实现此功能,需要OH侧支撑,问题已录入到oh需求表

Code sample

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions