Circle Story (React Native)
Use the CircleStory component to display circular video thumbnails.
Use the CircleStory component
import { CircleStory } from 'react-native-firework-sdk';
<CircleStory
style={{ height: 200 }}
source="discover"
circleStoryConfiguration={{
enableAutoplay: false,
playIcon: {
hidden: false,
imageName: 'custom_play_icon',
iconWidth: 40,
},
}}
/>For this example, bundle custom_play_icon in your iOS asset catalog and Android res/drawable directory. Omit imageName to keep the default artwork. systemImageName is also supported on iOS. The icon is square, preserves its colors, and is sized by iconWidth, including when using the default artwork. The default width is 40 on iOS and 36dp on Android. See custom thumbnail play icon for details.
Alternative: circular thumbnails with VideoFeed
You can also configure VideoFeed to display circular thumbnails as shown below.
Last updated
Was this helpful?