Widget Documentation: LMFeedPostVideoMediaView
Widget: LMFeedPostVideoMediaView
The LMFeedPostVideoMediaView is a customizable view for displaying a video, supporting actions like play/pause, mute/unmute, and removal with configurable styles and click listeners.
| Method | Description |
|---|---|
| setStyle(postVideoMediaViewStyle: LMFeedPostVideoMediaViewStyle) | Applies the given style to the video media view. |
| setPlayPauseIcon(isPlaying: Boolean = false) | Configures the play/pause icon based on the playing state. |
| setMuteUnmuteIcon(isMute: Boolean = false) | Configures the mute/unmute icon based on the mute state. |
| playVideo() | Initiates video playback. |
| setRemoveIconClickListener(listener: LMFeedOnClickListener) | Registers a click listener for the remove icon. |