Single Content Feed
Overview
Usage
Required Parameter
XML Configuration
<com.firework.videofeed.FwVideoFeedView
android:id="@+id/videoFeedView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>Programmatic Configuration
val viewOptions = viewOptions {
baseOptions {
feedResource(
FeedResource.SingleContent(contentId = "encoded_video_id")
)
}
layoutOptions {
feedLayout(FeedLayout.HORIZONTAL)
}
}
val videoFeedView = findViewById<FwVideoFeedView>(R.id.videoFeedView)
videoFeedView.init(viewOptions)Use Cases
Complete Examples
Featured Video on Homepage
Using with Fullscreen Player
Important Notes
See Also
Last updated
Was this helpful?