Tusky-App-Android/app/src/main/java/com/keylesspalace/tusky/di
Christophe Beyls 72ee0b4292
Enable support for WebVTT and TTML subtitles for the player (#4377)
All subtitle formats used to be enabled by default in older versions of
media3.
After the media3 library was upgraded to 1.3.0, Extractors should
specify a `SubtitleParser.Factory` explicitly. By default, no subtitle
formats are supported when using the now deprecated empty constructor of
Extractors.

Limit support to **WebVTT** and **TTML** which are the only true web
standards amongst all the subtitle formats supported by ExoPlayer.

Note that only subtitles embedded in MP4 and WebM files are supported
until Mastodon provides a way to upload subtitles separately.
2024-04-17 21:29:21 +02:00
..
ActivitiesModule.kt 3488 improve profile list (#3507) 2024-01-03 21:17:03 +01:00
AppComponent.kt Move ExoPlayer initialization to a Dagger module and optimize its dependencies (#4296) 2024-03-09 11:04:04 +01:00
AppInjector.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
AppModule.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
BroadcastReceiverModule.kt Only fetch and display a given notification once (#3626) 2023-05-13 16:00:28 +02:00
CoroutineScopeModule.kt Replace RxJava3 code with coroutines (#4290) 2024-02-29 15:28:48 +01:00
FragmentBuildersModule.kt 3488 improve profile list (#3507) 2024-01-03 21:17:03 +01:00
Injectable.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
NetworkModule.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
PlayerModule.kt Enable support for WebVTT and TTML subtitles for the player (#4377) 2024-04-17 21:29:21 +02:00
ServicesModule.kt Rename Toots to Posts (#2396) 2022-03-20 20:21:42 +01:00
ViewModelFactory.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
WorkerModule.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00