feat(android): support hiding Exoplayer video duration on android (#4090)

* feat: support for hiding duration on Android

* docs: add hideDuration property to control styles documentation
This commit is contained in:
ashlyWeiting
2024-08-21 16:05:40 +08:00
committed by GitHub
parent 4611284247
commit 41e2bed6b3
5 changed files with 13 additions and 1 deletions

View File

@@ -284,6 +284,7 @@ export type OnAudioFocusChangedData = Readonly<{
type ControlsStyles = Readonly<{
hideSeekBar?: boolean;
hideDuration?: boolean;
seekIncrementMS?: Int32;
}>;

View File

@@ -223,6 +223,7 @@ export type AudioOutput = 'speaker' | 'earpiece';
export type ControlsStyles = {
hideSeekBar?: boolean;
hideDuration?: boolean;
seekIncrementMS?: number;
};