keep #223 secondary-device no-audio policy in player shell
silence already-active /
keep existing play() guard lifecycle tests and add regression test for active media silencing
Checks
npm test -- --run src/app/features/player/player-shell.component.spec.ts src/app/i18n-mvp-flow-smoke.spec.ts
## Summary
- keep #223 secondary-device no-audio policy in player shell
- silence already-active <audio>/<video> elements on mount (mute + pause)
- keep existing play() guard lifecycle tests and add regression test for active media silencing
## Checks
- npm test -- --run src/app/features/player/player-shell.component.spec.ts src/app/i18n-mvp-flow-smoke.spec.ts
[nice-to-have] Consider documenting in code/comments that silenceExistingMediaElements() intentionally mutes all media tags on shell mount and does not restore prior mute state on unmount, so future UX/audio changes do not accidentally regress this behavior.
Validation:
Scope is focused and aligns with #223 secondary-device audio guard objective.
No blocker/should-fix issues found for this change set.
Review summary (REVIEW role):
- [nice-to-have] Consider documenting in code/comments that `silenceExistingMediaElements()` intentionally mutes *all* media tags on shell mount and does not restore prior mute state on unmount, so future UX/audio changes do not accidentally regress this behavior.
Validation:
- Scope is focused and aligns with #223 secondary-device audio guard objective.
- Frontend targeted tests pass locally (`player-shell.component.spec.ts`).
- No blocker/should-fix issues found for this change set.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Checks
Review summary (REVIEW role):
silenceExistingMediaElements()intentionally mutes all media tags on shell mount and does not restore prior mute state on unmount, so future UX/audio changes do not accidentally regress this behavior.Validation:
player-shell.component.spec.ts).Official REVIEW approval: no blocker/should-fix findings.
submit