Skip to main content

Video source

Playlist

The playlist video source fetches all available videos from a specific playlist by its ID. To create a playlist source, use the following API:

ShortVideoSource.playlist(playlistAlias, maxVideoItemsCount)

Setting a maxVideoItemsCount greater than 0 will limit the number of videos to load.

Single

The single video source fetches a single video by its video ID. To create a single source, use the following API:

ShortVideoSource.singleVideo(videoId)