Player Deck (React Native)
Integration
import { PlayerDeck } from 'react-native-firework-sdk';
// discover
<PlayerDeck
style={{ height: 580 }}
source="discover"
/>
// channel
<PlayerDeck
style={{ height: 580 }}
source="channel"
channel="your encoded channel id"
/>
// playlist
<PlayerDeck
style={{ height: 580 }}
source="playlist"
channel="your encoded channel id"
playlist="your encoded playlist id"
/>
// playlist group
<PlayerDeck
style={{ height: 580 }}
source="playlistGroup"
playlistGroup="your encoded playlist group id"
/>
// dynamic content
<PlayerDeck
style={{ height: 580 }}
source="dynamicContent"
channel="your encoded channel id"
dynamicContentParameters={{
'<cohort key>': ['<cohort value1>', '<cohort value2>'],
}}
/>
// hashtag playlist
<PlayerDeck
style={{ height: 580 }}
source="hashtagPlaylist"
channel="your encoded channel id"
hashtagFilterExpression="<hashtag filter expression>"
/>
// sku
<PlayerDeck
style={{ height: 580 }}
source="sku"
channel="your encoded channel id"
productIds={['product_id_1', 'product_id_2']}
/>
// single content
<PlayerDeck
style={{ height: 580 }}
source="singleContent"
contentId="your encoded video or live stream id"
/>Player deck loading result callback
Empty callback
Force refreshing player deck
Get feed id
Enable PiP(Picture in Picture)
Player deck configurations
Player configurations
Reference
Last updated
Was this helpful?