Skip to content

feat(youtube): mute and pause watch pages for read commands#578

Open
haoyueb2 wants to merge 3 commits intojackwener:mainfrom
haoyueb2:codex/quiet-youtube-watch
Open

feat(youtube): mute and pause watch pages for read commands#578
haoyueb2 wants to merge 3 commits intojackwener:mainfrom
haoyueb2:codex/quiet-youtube-watch

Conversation

@haoyueb2
Copy link
Copy Markdown

Summary

  • mute and pause YouTube watch pages immediately after navigation in youtube video and youtube transcript
  • keep the playback suppression best-effort so read-only extraction still proceeds if the player API is unavailable
  • add a focused unit test for the quiet playback helper

Testing

  • pnpm vitest run src/clis/youtube/utils.test.ts
  • opencli youtube video 'DXBh0XHEZKY' -f json | jq '.[0:4]'
  • opencli youtube transcript 'DXBh0XHEZKY' --mode raw -f json | jq '.[0:5]'

Closes #577.

@haoyueb2 haoyueb2 changed the title Mute and pause YouTube watch pages for read commands feat(youtube): mute and pause watch pages for read commands Mar 29, 2026
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.

[Feature]: Add a quiet mode for YouTube watch-page commands to avoid auto-play

2 participants