Skip to content

release: player controls, media playback, res cleanup - #8

Merged
jobinlawrance merged 2 commits into
masterfrom
develop
Jun 28, 2026
Merged

jobinlawrance merged 2 commits into
masterfrom
develop

Conversation

@jobinlawrance

Copy link
Copy Markdown

Release develop → master. Lands since the migration (#5):

CI: JVM (commonTest) + iOS-native (Kotlin/Native, Xcode 26) — both green on #7.

* 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.
@jobinlawrance
jobinlawrance merged commit 29a67ee into master Jun 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant