diff --git a/docs/pages/component/props.md b/docs/pages/component/props.md index e4ecb974..6ad99bae 100644 --- a/docs/pages/component/props.md +++ b/docs/pages/component/props.md @@ -47,7 +47,7 @@ This page shows the list of available properties to configure player | [selectedAudioTrack](#selectedaudiotrack) | Android, iOS, visionOS | | [selectedTextTrack](#selectedtexttrack) | Android, iOS visionOS | | [selectedVideoTrack](#selectedvideotrack) | Android | -| [shutterColor](#shutterColor) | Android | +| [shutterColor](#shuttercolor) | Android | | [source](#source) | All | | [subtitleStyle](#subtitlestyle) | Android | | [textTracks](#texttracks) | Android, iOS, visionOS | diff --git a/src/VideoNativeComponent.ts b/src/VideoNativeComponent.ts index f173a761..b5c9b982 100644 --- a/src/VideoNativeComponent.ts +++ b/src/VideoNativeComponent.ts @@ -314,6 +314,7 @@ export interface VideoNativeProps extends ViewProps { reportBandwidth?: boolean; //Android selectedVideoTrack?: SelectedVideoTrack; // android subtitleStyle?: SubtitleStyle; // android + shutterColor?: string; // Android trackId?: string; // Android useTextureView?: boolean; // Android useSecureView?: boolean; // Android diff --git a/src/types/video.ts b/src/types/video.ts index 415c69c5..c2395459 100644 --- a/src/types/video.ts +++ b/src/types/video.ts @@ -221,6 +221,7 @@ export interface ReactVideoProps extends ReactVideoEvents, ViewProps { selectedTextTrack?: SelectedTrack; selectedVideoTrack?: SelectedVideoTrack; // android subtitleStyle?: SubtitleStyle; // android + shutterColor?: string; // Android textTracks?: TextTracks; testID?: string; trackId?: string; // Android