- Added Support to specify percentage of view that needs to be visible for video to start playing.
- Added Support for multiple ViewTypes in RecyclerView.
- Support to play videos offline from local storage.
- Added getter for various variables for advanced usage.
- Crash fix for SetDataUri().
- UI Freeze issue fix.
- Single HandlerThread with multiple runnables instead of multiple HandlerThreads.
- Check internet connection before playing or downloading videos (Requires ACCESS_NETWORK_STATE permission).
onDraw
crash fix.- Restart videos on app minimize/maximize.
HandlerThread
instead ofThread
to run it in background.- Video pause/unpause bug fix.
- Only
AAH_VideoImage
view has to be completely visible to start auto-play instead of the whole RecyclerView item. - Get callbacks when video is started or paused by overriding
videoStarted()
andpauseVideo()
methods ofAAH_CustomViewHolder
. - Set looping property of videos by using
holder.setLooping(true);
. - If RecyclerView is loaded Asynchronously, call
recyclerView.playAvailableVideos(0)
to start autoplay videos once item is loaded. - Does not need smoothScrollBy hack anymore to init videos before scrolling.