diff --git a/RELEASENOTES.md b/RELEASENOTES.md index bc6dd6a75f..d19381bf3f 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -184,6 +184,9 @@ * UI * Remove deperecated `exo_simple_player_view.xml` and `exo_playback_control_view.xml` from resource. + * Add setter methods to `PlayerView` and `PlayerControlView` to set + whether the rewind, fast forward, previous and next buttons are shown + ([#7410](https://github.com/google/ExoPlayer/issues/7410)). * Move logic of prev, next, fast forward and rewind to ControlDispatcher ([#6926](https://github.com/google/ExoPlayer/issues/6926)). * Update `TrackSelectionDialogBuilder` to use AndroidX Compat Dialog @@ -211,10 +214,10 @@ ([#7306](https://github.com/google/ExoPlayer/issues/7306)). * Fix issue in `AudioTrackPositionTracker` that could cause negative positions to be reported at the start of playback and immediately after seeking - ([#7456](https://github.com/google/ExoPlayer/issues/7456). + ([#7456](https://github.com/google/ExoPlayer/issues/7456)). * Fix further cases where downloads would sometimes not resume after their network requirements are met - ([#7453](https://github.com/google/ExoPlayer/issues/7453). + ([#7453](https://github.com/google/ExoPlayer/issues/7453)). * DASH: * Merge trick play adaptation sets (i.e., adaptation sets marked with `http://dashif.org/guidelines/trickmode`) into the same `TrackGroup` as @@ -295,11 +298,12 @@ to the `DefaultAudioSink` constructor ([#7134](https://github.com/google/ExoPlayer/issues/7134)). * Workaround issue that could cause slower than realtime playback of AAC - on Android 10 ([#6671](https://github.com/google/ExoPlayer/issues/6671). + on Android 10 + ([#6671](https://github.com/google/ExoPlayer/issues/6671)). * Fix case where another app spuriously holding transient audio focus could prevent ExoPlayer from acquiring audio focus for an indefinite period of time - ([#7182](https://github.com/google/ExoPlayer/issues/7182). + ([#7182](https://github.com/google/ExoPlayer/issues/7182)). * Fix case where the player volume could be permanently ducked if audio focus was released whilst ducking. * Fix playback of WAV files with trailing non-media bytes @@ -1248,7 +1252,7 @@ ([#4492](https://github.com/google/ExoPlayer/issues/4492) and [#4634](https://github.com/google/ExoPlayer/issues/4634)). * Fix issue where removing looping media from a playlist throws an exception - ([#4871](https://github.com/google/ExoPlayer/issues/4871). + ([#4871](https://github.com/google/ExoPlayer/issues/4871)). * Fix issue where the preferred audio or text track would not be selected if mapped onto a secondary renderer of the corresponding type ([#4711](http://github.com/google/ExoPlayer/issues/4711)). @@ -1679,7 +1683,7 @@ resources when the playback thread has quit by the time the loading task has completed. * ID3: Better handle malformed ID3 data - ([#3792](https://github.com/google/ExoPlayer/issues/3792). + ([#3792](https://github.com/google/ExoPlayer/issues/3792)). * Support 14-bit mode and little endianness in DTS PES packets ([#3340](https://github.com/google/ExoPlayer/issues/3340)). * Demo app: Add ability to download not DRM protected content. diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java index 778f033f0c..4b9de374c3 100644 --- a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerControlView.java @@ -66,6 +66,26 @@ import java.util.concurrent.CopyOnWriteArrayList; *
  • Corresponding method: {@link #setShowTimeoutMs(int)} *
  • Default: {@link #DEFAULT_SHOW_TIMEOUT_MS} * + *
  • {@code show_rewind_button} - Whether the rewind button is shown. + * + *
  • {@code show_fastforward_button} - Whether the fast forward button is shown. + * + *
  • {@code show_previous_button} - Whether the previous button is shown. + * + *
  • {@code show_next_button} - Whether the next button is shown. + * *
  • {@code rewind_increment} - The duration of the rewind applied when the user taps the * rewind button, in milliseconds. Use zero to disable the rewind button. *