Skip to content

Commit

Permalink
Added flag to delay thumb hide
Browse files Browse the repository at this point in the history
  • Loading branch information
Pankaj committed Jan 28, 2020
1 parent 80017dd commit ad18ffb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allprojects {
// App level build.gradle
dependencies {
implementation 'com.github.pankaj89:MasterExoPlayer:1.0'
implementation 'com.github.pankaj89:MasterExoPlayer:1.2'
}
```
Expand Down Expand Up @@ -74,17 +74,25 @@ masterExoPlayerHelper.attachToRecyclerView(recyclerView)
Visible area from 0 to 1, Which matches to play video, default value = PlayStrategy.DEFAULT i.e 0.75 means 75% area visible to starts play
```
```
4. muteStrategy: Values from MuteStratagy.ALL or MuteStratagy.INDIVIDUAL
4. muteStrategy : Values from MuteStratagy.ALL or MuteStratagy.INDIVIDUAL
Defines whether mute/unmute affects all rows or individual
```
```
5. defaultMute:Boolean
5. defaultMute : Boolean
If default video should be muted or not
```
```
6. loop:Int
Defines if you want to loop the video, default is unlimited, if set to 1 it will play only 1 time then stoop.
```
```
7. useController : Boolean
Defines if you want use controller for exo player or not. if set true then controller will be visible else hide, default will be false.
```
```
8. thumbHideDelay : Long
Defines duration in millisecond, defines delay before hiding thumbnail image while vide plays.
```

### Special Thanks to
###### Exo Player by Google [(<u><i>link</i></u>)](https://github.com/google/ExoPlayer)
Expand Down

0 comments on commit ad18ffb

Please sign in to comment.