-
Notifications
You must be signed in to change notification settings - Fork 13
react native bitmovin player.playerprops
Matheus Cardoso edited this page Jun 8, 2022
·
1 revision
Home > react-native-bitmovin-player > PlayerProps
Props for the player view.
Signature:
interface PlayerProps extends PropsWithRef<{
config?: PlayerConfig;
style?: ViewStyle;
onEvent?: (event: Event) => void;
onReady?: (event: Event) => void;
onPlay?: (event: PlayEvent) => void;
}>
Extends: PropsWithRef<{ config?: PlayerConfig; style?: ViewStyle; onEvent?: (event: Event) => void; onReady?: (event: Event) => void; onPlay?: (event: PlayEvent
Property | Type | Description |
---|---|---|
config? | PlayerConfig | (Optional) |
onEvent? | (event: Event) => void | (Optional) |
onPlay? | (event: PlayEvent) => void | (Optional) |
onReady? | (event: Event) => void | (Optional) |
style? | ViewStyle | (Optional) |