Skip to content

Commit

Permalink
Feature/november 2021 changes (#790)
Browse files Browse the repository at this point in the history
* Fixed issue with full url of subtitle for HLS data source

* Kotlin migration (#730)

* Rename .java to .kt

* Kotlin migration

* Kotlin migration

* Rename .java to .kt

* Kotlin migration

* Rename .java to .kt

* Kotlin migration

* Kotlin migration

* Kotlin migration

* Kotlin migration

* Kotlin migration

* Kotlin migration

* Updated ExoPlayer version to 2.15.1

* Fixed crash related to Android 12

* Added missing bugfix: Fixed issue with full url of subtitle for HLS data source.

* Fixing Android 12 issues

* * Fixed install page from docs.
* Fixed one of the showcase images

* * [BREAKING_CHANGE] Split controlsHidden into controlsHiddenStart and controlsHiddenEnd.

* * Added onTapDown handle for material and cupertino progress bar to handle show and hide of controls.

* General refactor

* * [BREAKING_CHANGE] Added to Function(bool) onPlayerVisibilityChanged to customControlsBuilder in [BetterPlayerConfiguration]

* Format

* General refactor

* Updated screenshots

* Updated versions

* General refactor

* * Fixed video in list example
  • Loading branch information
jhomlala authored Nov 7, 2021
1 parent e25b39d commit 41fd24f
Show file tree
Hide file tree
Showing 46 changed files with 2,174 additions and 2,259 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 0.0.78
* [BREAKING_CHANGE] Split controlsHidden into controlsHiddenStart and controlsHiddenEnd.
* [BREAKING_CHANGE] Added to Function(bool) onPlayerVisibilityChanged to customControlsBuilder in [BetterPlayerConfiguration].
* Migrated android native code to Kotlin.
* Updated ExoPlayer version to 2.15.1.
* Updated screenshots.
* Added onTapDown handle for material and cupertino progress bar to handle show and hide of controls.
* Fixed crash related to Android 12.
* Fixed issue with full url of subtitle for HLS data source.
* Fixed install page from docs.
* Fixed one of the showcase images.
* Fixed video in list example.

## 0.0.77
* Fixed full screen safe area issue in cupertino controls.
* Fixed subtitles duplication after changing data source.
Expand Down
45 changes: 30 additions & 15 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
group 'com.jhomlala.better_player'
version '1.0-SNAPSHOT'
version '0.0.77'

buildscript {

ext.exoPlayerVersion = "2.15.1"
ext.lifecycleVersion = "2.4.0-beta01"
ext.annotationVersion = "1.2.0"
ext.workVersion = "2.7.0"
ext.coreVersion = "1.6.0"
ext.gradleVersion = "4.1.0"

repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath "com.android.tools.build:gradle:$gradleVersion"
}
}

Expand All @@ -20,9 +28,10 @@ rootProject.allprojects {
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 28
compileSdkVersion 31

defaultConfig {
minSdkVersion 16
Expand All @@ -39,19 +48,25 @@ android {
}

dependencies {
implementation 'com.google.android.exoplayer:exoplayer-core:2.14.2'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.14.2'
implementation 'com.google.android.exoplayer:exoplayer-dash:2.14.2'
implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.14.2'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.14.2'
implementation 'com.google.android.exoplayer:extension-mediasession:2.14.2'
implementation "android.arch.lifecycle:runtime:1.1.1"
implementation "android.arch.lifecycle:common:1.1.1"
implementation "android.arch.lifecycle:common-java8:1.1.1"
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation "androidx.work:work-runtime:2.5.0"
implementation "com.google.android.exoplayer:exoplayer-core:$exoPlayerVersion"
implementation "com.google.android.exoplayer:exoplayer-hls:$exoPlayerVersion"
implementation "com.google.android.exoplayer:exoplayer-dash:$exoPlayerVersion"
implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:$exoPlayerVersion"
implementation "com.google.android.exoplayer:exoplayer-ui:$exoPlayerVersion"
implementation "com.google.android.exoplayer:extension-mediasession:$exoPlayerVersion"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-common:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
implementation "androidx.annotation:annotation:$annotationVersion"
implementation "androidx.work:work-runtime:$workVersion"
}
}
dependencies {
implementation "androidx.core:core-ktx:$coreVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
}
repositories {
mavenCentral()
}


Loading

0 comments on commit 41fd24f

Please sign in to comment.