Video
Overview
The LMVideo component is designed to handle video playback within the application. It supports various video formats and provides controls for play, pause, and seeking, allowing users to interactively engage with video content.
GitHub File:

Styling Customisation
| Property | Type | Description | 
|---|---|---|
| height | number | Height of the video. | 
| width | number | Width of the video. | 
| videoStyle | ViewStyle | Style for the video container. | 
| boxFit | stretchorcontainorcoverornone | Defines how the video should fit in the container. | 
| boxStyle | ViewStyle | Style for the container (box) that holds the video. | 
| aspectRatio | 0or0.1or0.2or0.3or0.4or0.5or0.6or0.7or0.8or0.9or1 | Aspect ratio of the video. | 
| showControls | boolean | Whether to show the video controls. | 
| looping | boolean | Whether the video should loop. | 
| loaderWidget | React.ReactNode | Custom loader widget to show while the video is loading. | 
| errorWidget | React.ReactNode | Custom error widget to show if the video fails to load. | 
| playButton | React.ReactNode | Custom play button to show for the video. | 
| pauseButton | React.ReactNode | Custom pause button to show for the video. | 
| autoPlay | boolean | Whether the video should autoplay. | 
| showCancel | boolean | Whether to show a cancel button for the video view. | 
| onCancel | Function | Function to execute when the cancel button is pressed. | 
CancelButton Object
| Property | Type | Description | 
|---|---|---|
| text | LMTextProps | Customization for the text in the cancel button. | 
| icon | LMIconProps | Customization for the icon in the cancel button. | 
| onTap | Function | Function triggered when the cancel button is tapped. | 
| placement | startorend | Position of the icon or text in the cancel button. | 
| buttonStyle | ViewStyle | Style for the cancel button container. | 
| isClickable | boolean | Determines if the cancel button is clickable. | 
Usage Example
import {STYLES} from "@likeminds.community/feed-rn-core"
STYLES.setPostListStyles({
    media: {
        video: {
            aspectRatio: 1,
            autoPlay: false,
            looping: false
        }
    }
})