Skip to content

Commit 41fd24f

Browse files
authored
Feature/november 2021 changes (jhomlala#790)
* Fixed issue with full url of subtitle for HLS data source * Kotlin migration (jhomlala#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
1 parent e25b39d commit 41fd24f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2174
-2259
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 0.0.78
2+
* [BREAKING_CHANGE] Split controlsHidden into controlsHiddenStart and controlsHiddenEnd.
3+
* [BREAKING_CHANGE] Added to Function(bool) onPlayerVisibilityChanged to customControlsBuilder in [BetterPlayerConfiguration].
4+
* Migrated android native code to Kotlin.
5+
* Updated ExoPlayer version to 2.15.1.
6+
* Updated screenshots.
7+
* Added onTapDown handle for material and cupertino progress bar to handle show and hide of controls.
8+
* Fixed crash related to Android 12.
9+
* Fixed issue with full url of subtitle for HLS data source.
10+
* Fixed install page from docs.
11+
* Fixed one of the showcase images.
12+
* Fixed video in list example.
13+
114
## 0.0.77
215
* Fixed full screen safe area issue in cupertino controls.
316
* Fixed subtitles duplication after changing data source.

android/build.gradle

+30-15
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
group 'com.jhomlala.better_player'
2-
version '1.0-SNAPSHOT'
2+
version '0.0.77'
33

44
buildscript {
5+
6+
ext.exoPlayerVersion = "2.15.1"
7+
ext.lifecycleVersion = "2.4.0-beta01"
8+
ext.annotationVersion = "1.2.0"
9+
ext.workVersion = "2.7.0"
10+
ext.coreVersion = "1.6.0"
11+
ext.gradleVersion = "4.1.0"
12+
513
repositories {
614
google()
715
jcenter()
816
}
917

1018
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.3.0'
19+
classpath "com.android.tools.build:gradle:$gradleVersion"
1220
}
1321
}
1422

@@ -20,9 +28,10 @@ rootProject.allprojects {
2028
}
2129

2230
apply plugin: 'com.android.library'
31+
apply plugin: 'kotlin-android'
2332

2433
android {
25-
compileSdkVersion 28
34+
compileSdkVersion 31
2635

2736
defaultConfig {
2837
minSdkVersion 16
@@ -39,19 +48,25 @@ android {
3948
}
4049

4150
dependencies {
42-
implementation 'com.google.android.exoplayer:exoplayer-core:2.14.2'
43-
implementation 'com.google.android.exoplayer:exoplayer-hls:2.14.2'
44-
implementation 'com.google.android.exoplayer:exoplayer-dash:2.14.2'
45-
implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.14.2'
46-
implementation 'com.google.android.exoplayer:exoplayer-ui:2.14.2'
47-
implementation 'com.google.android.exoplayer:extension-mediasession:2.14.2'
48-
implementation "android.arch.lifecycle:runtime:1.1.1"
49-
implementation "android.arch.lifecycle:common:1.1.1"
50-
implementation "android.arch.lifecycle:common-java8:1.1.1"
51-
implementation 'androidx.annotation:annotation:1.1.0'
52-
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
53-
implementation "androidx.work:work-runtime:2.5.0"
51+
implementation "com.google.android.exoplayer:exoplayer-core:$exoPlayerVersion"
52+
implementation "com.google.android.exoplayer:exoplayer-hls:$exoPlayerVersion"
53+
implementation "com.google.android.exoplayer:exoplayer-dash:$exoPlayerVersion"
54+
implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:$exoPlayerVersion"
55+
implementation "com.google.android.exoplayer:exoplayer-ui:$exoPlayerVersion"
56+
implementation "com.google.android.exoplayer:extension-mediasession:$exoPlayerVersion"
57+
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
58+
implementation "androidx.lifecycle:lifecycle-common:$lifecycleVersion"
59+
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
60+
implementation "androidx.annotation:annotation:$annotationVersion"
61+
implementation "androidx.work:work-runtime:$workVersion"
5462
}
5563
}
64+
dependencies {
65+
implementation "androidx.core:core-ktx:$coreVersion"
66+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
67+
}
68+
repositories {
69+
mavenCentral()
70+
}
5671

5772

0 commit comments

Comments
 (0)