Interface IVideoFeedProps

The props of VideoFeed component.

Hierarchy

  • IVideoFeedProps

Properties

adConfiguration?: AdConfiguration

Ad configuration of the feed. Only supported on iOS.

channel?: string

Channel id of the feed. Required when the source is set as channel or playlist or dynamicContent.

contentId?: string

The video or live stream id. Only supported on iOS.

dynamicContentParameters?: {
    [key: string]: string[];
}

The dynamic content parameters of the feed. Required when the source is set as dynamicContent.

Type declaration

  • [key: string]: string[]
enablePictureInPicture?: boolean

Specifies if Picture in Picture is enabled.

hashtagFilterExpression?: string

Hashtag filter expression is an s-expression used to provide feeds filtered by hashtags with specified criteria. Queries are specified with boolean predicates on what hashtags are there on the video. For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions. Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis. Required when the source is set as hashtagPlaylist.

One of three available display modes. Defaults to row.

onVideoFeedLoadFinished?: ((error?: FWError) => void)

Type declaration

    • (error?: FWError): void
    • The feed loading result callback. It means loading successfully when error equals to undefined. Only supported on iOS.

      Parameters

      Returns void

playlist?: string

Playlist id of the feed. Please note channel id is necessary. Required when the source is set as playlist.

playlistGroup?: string

PlaylistGroup id of the feed. Required when the source is set as playlistGroup. Only supported on iOS.

productIds?: string[]

Product ids used to generate the sku feed

One of five available video feed sources.The playlistGroup is only supported on iOS. Defaults to discover.

style?: StyleProp<ViewStyle>

Standard React Native View Style.

videoFeedConfiguration?: VideoFeedConfiguration

Configuration of the feed.

videoPlayerConfiguration?: VideoPlayerConfiguration

Configuration of the player.

Generated using TypeDoc