Repository navigation
release: player controls, media playback, res cleanup - #8
Merged
Merged
Conversation
* fix: media playback on device (HLS source + dev stream)
ExoPlayer crashed with ClassNotFoundException HlsMediaSource$Factory — the HLS source
module was missing. Add androidx.media3.exoplayer.hls to :shared androidMain (AVPlayer
plays HLS natively on iOS, no change needed).
Dev fallbacks so the player is exercisable before the backend exists:
- DetailViewModel falls back to SampleData.sampleDetail(id) so Detail renders (incl. Play)
- PlayerViewModel falls back to SampleData.samplePlayback (public Mux HLS test stream) and
starts the player when /playback/{id} 401s.
Verified: emulator plays real HLS video (Play -> ExoPlayer renders the stream). Remove fallbacks with MakD#101.
* test: update Detail/Player failure tests for dev fallback behavior
- Player: add refreshState() to the Player interface (Media3 reads ExoPlayer, AVPlayer reads currentTime/duration, StubPlayer advances). PlayerScreen polls each second and shows a Slider (seek) + mm:ss time labels alongside play/pause. - res cleanup: delete unused AFinity resources — all values-*/ translation dirs + ~227 unused drawables (kept only manifest/theme-referenced ones + mipmap/values/xml). Build stays green. - ISA.md: mark migration complete; changelog summary. Both platforms green; 34 host tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release
develop→master. Lands since the migration (#5):CI: JVM (commonTest) + iOS-native (Kotlin/Native, Xcode 26) — both green on #7.