Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Bump version to v4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Mar 9, 2023
1 parent 0019fc0 commit aa33daf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
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.bnyro.recorder"
minSdk 21
targetSdk 33
versionCode 7
versionName "4.0"
versionCode 8
versionName "4.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
20 changes: 10 additions & 10 deletions app/src/main/java/com/bnyro/recorder/ui/views/VideoView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ fun VideoView(videoUri: Uri) {

val exoPlayer = remember(context) {
ExoPlayer.Builder(context)
.setUsePlatformDiagnostics(false)
.build()
.also { exoPlayer ->
val mediaItem = MediaItem.Builder()
.setUri(videoUri)
.build()
exoPlayer.setMediaItem(mediaItem)
exoPlayer.prepare()
exoPlayer.playWhenReady = true
}
.setUsePlatformDiagnostics(false)
.build()
.also { exoPlayer ->
val mediaItem = MediaItem.Builder()
.setUri(videoUri)
.build()
exoPlayer.setMediaItem(mediaItem)
exoPlayer.prepare()
exoPlayer.playWhenReady = true
}
}
DisposableEffect(
AndroidView(
Expand Down

0 comments on commit aa33daf

Please sign in to comment.