mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2570] [Feature]: In-app volume control for the YouTube Music DJ player #1267
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Romuromylus on GitHub (Jun 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2570
Originally assigned to: @Romuromylus on GitHub.
What problem does this solve?
The YouTube Music DJ player has no app-side volume control.
youtubeVolumeis set only by the DJ agent, so the only way a user can manually adjust YouTube playback volume is YouTube's native in-iframe volume slider (shown when you expand the video). That control is cross-origin (we can't restyle or change its behavior) and is awkward in our small 246x138 embed: the slider collapses the moment the cursor leaves the speaker icon, so it's very hard to actually grab and drag. In practice there is no reliable manual volume control for YouTube mode.By contrast, the Spotify mini-player has had an always-visible inline mute button + volume slider for a long time. YouTube mode should reach parity.
Proposed solution
Add an always-visible mute button + volume slider to the YouTube player, mirroring the Spotify mini-player:
lg) and in the mobile expanded widget, so there's no hover-reveal gap and nothing to chase.youtubePlayerVolume, default 70) and apply it to the IFrame player viasetVolume().youtube_controlvolume into the same persisted value so the slider is the single source of truth.Alternatives considered
Additional context
Pairs with the YouTube DJ feature and its recent tool-binding regression fix. Purely additive; the Spotify path is untouched.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: