arthur3486 / ARVI

Android library designed to simplify the implementation of the video autoplay in the RecyclerView
Apache License 2.0
68 stars 18 forks source link

Audio and Playback Issue #2

Closed perusudroid closed 5 years ago

perusudroid commented 5 years ago

Hi, Your library found to be awesome but i faced some issues like no audio for video files and no playback option like seekbar and forward. Does your library support all these or still under construction?.

arthur3486 commented 5 years ago

Hi @perusudroid the library does indeed support the audio management, as well as Player controls.

In the demo app the audio is disabled for each corresponding Item ViewHolder (See VideoItemViewHolder, but that doesn't mean that you can't enable it, in fact you can adjust basically any playback-related property exposed by the Playable contract.

Also, regarding the Player controls, here you have several options, the first one is the default PlayerView controls provided by the ExoPlayer (see the corresponding API documentation), the second one is the custom implementation of the controls with all the corresponding event handling and manual management of the playback (here, once again you would have to look into the API exposed to you via the Playable contract).

Hope this helped to clarify the things! :)