VideoView

VideoView
VideoView

VideoView allows you to play a video from a url or a local file with caching functionality.

Usage

VideoView is included in its own module which is included by platform module. If you need to include this module, add it to your build.gradle:

implementation ("com.poqstudio:catalogue.video:$VERSION_NAME")

To use it:

  1. Add it to your layout:
    <com.poqstudio.platform.view.video.ui.PoqVideoView
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />
  2. Send the VideoData object through the setUp method:
    videoView.setUp(VideoData(...)))

Customization

If you need to further customize VideoView you can override: