AutoplayVideos v0.1.2 Release Notes
Release Date: 2017-07-06 // over 6 years ago-
- 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.
- Only