Video Feed Content Source (iOS)

Video Feed Content Source

The enum VideoFeedContentSource defines the different sources that can be used to populate the Video Feed/Player Deck/Circle Story.

Channel

Displays content from the specified channel id.

let channelID = "<Channel ID>"
let source = VideoFeedContentSource.channel(channelID: channelID)
// UIKit
let videoFeedView = FWSVideoFeedView(source: source)
let playerDeckView = PlayerDeckView(source: source)
let circleStory = CircleStoryView(source: source)
// SwiftUI
FWSVideoFeedSwiftUIView(source: source)
PlayerDeckSwiftUIView(source: source)
CircleStorySwiftUIView(source: source)

Channel Playlist

Displays content from the specified playlist id.

let channelID = "<Your Channel ID>"
let playlistID = "<Playlist ID>"
let source = VideoFeedContentSource.channelPlaylist(channelID: channelID, playlistID: playlistID)
// UIKit
let videoFeedView = FWSVideoFeedView(source: source)
let playerDeckView = PlayerDeckView(source: source)
let circleStory = CircleStoryView(source: source)
// SwiftUI
FWSVideoFeedSwiftUIView(source: source)
PlayerDeckSwiftUIView(source: source)
CircleStorySwiftUIView(source: source)

Dynamic Content

Displays dynamic content based on the provided channel id and content parameters.

Hashtag Playlist

Displays content based on the provided channel id and the hashtag expression.

Or a more advanced hashtag expression can be used to fine tune the results

SKU Playlist

Displays content based on the provided channel id and SKU/Product external IDs.

Single Video or Live Stream

Displays a single video or live stream content.

Video Ads

Displays video ads based on vast XML.

Channel Videos

Last updated

Was this helpful?