Video Feed
Currently, there are five source types of video feed:
Discover Feed
Channel Feed
Playlist Feed
Playlist Group Feed
Dynamic Content
Integration
Please refer to the Encoded IDs help article to learn about how to find your encoded channel ID, playlist ID, playlist Group ID
Mode
VideoFeed
widget supports three modes: row
, column
, and grid
.
Use grid
mode:
Video feed configuration
VideoFeed
widget provides videoFeedConfiguration
property for configuring Video Feed. The current configurable are backgroundColor
, cornerRadius
, and titlePosition
etc. Please refer to VideoFeedConfiguration for more details.
Video player configuration
VideoFeed
widget provides videoPlayerConfiguration
property for configuring Video Player. The current configurable are playerStyle
, videoCompleteAction
, and ctaButtonStyle
etc. Please refer to VideoPlayerConfiguration for more details.
Video feed loading result callback
VideoFeed
component provides onVideoFeedLoadFinished property for setting video feed loading result callback.
Force refreshing video feed
Picture in Picture(Only supported on iOS)
This feature allows the user to watch media while the application is in a background state. While in background mode a video will display in a floating, resizable window.
To enable PiP functionality, you also need to add Background Modes capability via Signing & Capabilities in your iOS project settings. More information about this can be found here: Apple Documentation
Once the background mode is enabled, moving from an active state to a background state will immediately trigger the Picture In Picture functionality. In addition to enabling the background mode, you also need to set enablePictureInPicture
to true
.
Reference
Last updated