Skip to content

Commit

Permalink
Release 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vkay94 committed Oct 8, 2019
1 parent 2c713f0 commit b580b5a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ allprojects {
}
dependencies {
implementation 'com.github.vkay94:DoubleTapPlayerView:0.5.1'
implementation 'com.github.vkay94:DoubleTapPlayerView:0.5.2'
}
```

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.github.vkay94.doubletapplayerviewexample"
minSdkVersion 16
targetSdkVersion 29
versionCode 51
versionName "0.5.1"
versionCode 52
versionName "0.5.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MainActivity : AppCompatActivity(), PlayerDoubleTapListener {
.setForwardRewindIncrementMs(10000)
.setSeekListener(object : SeekListener {
override fun onVideoStartReached() {
player?.stop()
pausePlayer()
Toast.makeText(this@MainActivity,
"Video start reached", Toast.LENGTH_SHORT).show()
}
Expand All @@ -60,7 +60,7 @@ class MainActivity : AppCompatActivity(), PlayerDoubleTapListener {
// Start video
// Found at: https://sample-videos.com/

val videoUrl = "https://file-examples.com/wp-content/uploads/2017/04/file_example_MP4_1920_18MG.mp4"
val videoUrl = "https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_30mb.mp4"
buildMediaSource(Uri.parse(videoUrl))
}

Expand Down
4 changes: 2 additions & 2 deletions doubletapplayerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 29
versionCode 51
versionName "0.5.1"
versionCode 52
versionName "0.5.2"

vectorDrawables.useSupportLibrary = true

Expand Down

0 comments on commit b580b5a

Please sign in to comment.