0.0.4 • Published 7 years ago
react-native-kaltura v0.0.4
react-native-kaltura
uses kaltura v3.0 sdk for android and ios.
Usage
<KalturaPlayer
ref="kalturaPlayer"
entryId="1_ar6..."
partnerId={1234}
uiConfId="3767..."
play={true}
loop={false}
ks="djJ8M..."
style={{alignSelf: 'stretch', height: 300, backgroundColor: 'black', marginVertical: 10}} />
Properties
- entryId: The Kaltura video ID to play, can be changed to change the video playing.
- partnerId: The Kaltura partner ID.
- uiConfId: The Kaltura UI Conf ID.
- play: Controls playback of video with
true/false
. Setting it astrue
in the beginning itself makes the video autoplay on loading. Defaulttrue
. - loop: Loops the video. Default
false
. - fs: Controls whether the full screen button is shown. Default
true
. ks: Kaltura Session ID
Example
Try the included Example:
git clone git+https://git.unitedcuisines.net/cuisines/cuisines-kaltura-react.git cd cuisines-kaltura-react/example npm install pod install npm start