Straw phase N: share + playback speed + audio-only toggle (v0.1.0-N / vc=2)
Player overlay (top-right) now hosts four buttons in a row: - Speed: 1× by default; tap opens a dialog of 0.25× / 0.5× / 0.75× / 1× / 1.25× / 1.5× / 1.75× / 2×. Applies via exoPlayer.playbackParameters. - Audio-only toggle (📻/📺): toggles Player.TRACK_TYPE_VIDEO via TrackSelectionParameters. Saves bandwidth + battery for screen-off listening. Toast confirms state. - Share (↗): Intent.ACTION_SEND with text/plain containing the YouTube URL + the video title as EXTRA_SUBJECT. Hands off to Android share sheet. - PiP (⊟): same as M-1 but now part of the row instead of its own floating square. VideoDetail screen: Play button now lives in a Row with an OutlinedButton "Share" that fires the same ACTION_SEND chooser. Same UX surface for users who land on detail without going to player. Version: STRAW_VERSION_CODE 1 → 2, STRAW_VERSION_NAME "0.1.0-day1" → "0.1.0-N" so the F-Droid client sees this as an upgrade. Phase O next (per Cobb's "where are all the features"): quality picker, related videos on detail, download (audio + video).
This commit is contained in:
parent
7894fe5a4d
commit
253c5e268b
3 changed files with 137 additions and 27 deletions
|
|
@ -15,6 +15,6 @@ const val NEWPIPE_APPLICATION_ID_OLD = "org.schabi.newpipe"
|
|||
const val NEWPIPE_APPLICATION_ID_NEW = "net.newpipe.app"
|
||||
|
||||
// Sulkta fork — Straw
|
||||
const val STRAW_VERSION_CODE = 1
|
||||
const val STRAW_VERSION_NAME = "0.1.0-day1"
|
||||
const val STRAW_VERSION_CODE = 2
|
||||
const val STRAW_VERSION_NAME = "0.1.0-N"
|
||||
const val STRAW_APPLICATION_ID = "com.sulkta.straw"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue