feat(android): add live video label configuration (#4190)
This commit is contained in:
committed by
GitHub
parent
82dc4cf3a0
commit
149924ffcb
@@ -31,6 +31,7 @@ import Video, {
|
||||
type SelectedVideoTrack,
|
||||
type EnumValues,
|
||||
OnBandwidthUpdateData,
|
||||
ControlsStyles,
|
||||
} from 'react-native-video';
|
||||
import styles from './styles';
|
||||
import {type AdditionalSourceInfo} from './types';
|
||||
@@ -241,9 +242,10 @@ const VideoPlayer: FC<Props> = ({}) => {
|
||||
const _renderLoader = showPoster ? () => <VideoLoader /> : undefined;
|
||||
|
||||
const _subtitleStyle = {subtitlesFollowVideo: true};
|
||||
const _controlsStyles = {
|
||||
const _controlsStyles : ControlsStyles = {
|
||||
hideNavigationBarOnFullScreenMode: true,
|
||||
hideNotificationBarOnFullScreenMode: true,
|
||||
liveLabel: "LIVE"
|
||||
};
|
||||
const _bufferConfig = {
|
||||
...bufferConfig,
|
||||
|
Reference in New Issue
Block a user