Circle Story (Flutter)
Integration
import 'package:fw_flutter_sdk/fw_flutter_sdk.dart';
/// discover
CircleStory(
height: 200,
source: VideoFeedSource.discover,
);
/// channel
CircleStory(
height: 200,
source: VideoFeedSource.channel,
channel: "your encoded channel id",
);
/// playlist
CircleStory(
height: 200,
source: VideoFeedSource.playlist,
channel: "your encoded channel id",
playlist: "your encoded playlist id",
);
/// playlist group
CircleStory(
height: 200,
source: VideoFeedSource.playlistGroup,
playlistGroup: "your encoded playlist group id",
);
/// dynamic content
CircleStory(
height: 200,
source: VideoFeedSource.dynamicContent,
dynamicContentParameters: const {
'<cohort key>': ['<cohort value1>', '<cohort value2>']
},
);
/// hashtag playlist
CircleStory(
height: 200,
source: VideoFeedSource.hashtagPlaylist,
channel: "your encoded channel id",
hashtagFilterExpression: "<hashtag filter expression>",
);
/// sku playlist
CircleStory(
height: 200,
source: VideoFeedSource.sku,
channel: "your encoded channel id",
productIds: ["prodct_id_1", "prodct_id_2"],
);
/// single content
CircleStory(
height: 200,
source: VideoFeedSource.singleContent,
contentId: "your encoded video or live stream id"
);Video feed loading result callback
Empty callback
Force refreshing circle story
Enable PiP(Picture in Picture)
Keep alive when scrolling the widget out of the view box
onVideoFeedClick
Circle story configurations
Player configurations
Reference
Last updated
Was this helpful?