ShortVideoView
ShortVideoView
is a UI entry point designed to display a list of videos in various layout types such as grid, carousel, and story block.
When a video item is clicked, it opens the main player and plays the selected video.
Adding a ShortVideoView
is as simple as adding a normal Android View.
<sg.belive.lib.shortvideo.view.ShortVideoView
android:id="@+id/short_video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
ShortVideoView
loads video data from a Video Source defined by a View Config.
This View Config defines the layout type and provides customization for the UI, as well as controls for basic player behaviors.