Repository navigation
feat(trailers): bring back in-app trailer playback - #809
Merged
ProdigyV21 merged 3 commits intoOct 16, 2026
Merged
Conversation
Replace the official YouTube player (WebView) with ARVIO's in-app trailer player everywhere trailers play: - Home: the hero background trailer and the expanding row card, including the poster-row case, where the hero plays the trailer. - Netflix Home: the billboard and the focused card. - Details: the trailer button opens a full-screen in-app player. The trailer's stream is looked up as soon as its key is known, so it usually starts right after the focus delay. Trailer auto-play is read from the profile's setting again. The official player components, their tests and the android-youtube-player dependency are removed.
The in-app player only gets 360p from YouTube, which shows on large surfaces. The Netflix Home billboard and the Details trailer use YouTube's own player (720p-1080p); row cards keep the in-app player. On TV the Details trailer now fills the screen.
…app-trailers # Conflicts: # app/src/main/kotlin/com/arflix/tv/ui/screens/home/HomeScreen.kt
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.
Summary
Brings back ARVIO's in-app trailer player for the smaller trailer surfaces, and keeps YouTube's official player where trailers are shown large. In-app trailers have no YouTube logo, title bar or buttons and start noticeably faster; the official player gives HD.
Which player plays where
Faster start
main(cached and de-duplicated) is kept; the lookup is added to it.Removed
OpenYouTubeTrailerand its URL test (no longer used).Testing
./gradlew :app:testSideloadDebugUnitTest); the on-device tests compile.main.