Skip to content

react native bitmovin player.playerprops

Matheus Cardoso edited this page Jun 8, 2022 · 1 revision

Home > react-native-bitmovin-player > PlayerProps

PlayerProps interface

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

Properties

Property Type Description
config? PlayerConfig (Optional)
onEvent? (event: Event) => void (Optional)
onPlay? (event: PlayEvent) => void (Optional)
onReady? (event: Event) => void (Optional)
style? ViewStyle (Optional)
Clone this wiki locally