code-charity / code-charity/youtube
Multiple playback speed settings based on video content
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 996
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 7
Description
⚬ PROBLEM:
Using a default video playback speed that is higher than 1 is bad when listening to music. It is good when watching or listening to content. These can't currently exist together and a person has to either speed up every video that is not music or slow down every video that is.
⚬ SOLUTION:
Detect if a video is music based on it's category, pictured:

( or maybe some other API that exists and I'm not aware of to know if the current video is music) and set a specific speed for it(in my case it would just be 1). Then set a separate playback speed for all other content.
⚬ ALTERNATIVES:
- Inverse of suggestion, set a different speed for all videos that have a category that is not music, leave the default at 1 for all undetected and music(should cover more edge cases)
- Shortcuts to set the default video speed to preset values. One to set to your selected speed(let's say 2), second to set back to a lower speed(1)
⚬ RELEVANCE / SCOPE:
I'm not sure how many people use the current playback speed option. Of those it would the people who also listen to music and are annoyed by the increased speed.
⚬ "SIDE EFFECTS":
I don't think this feature would change the current features if included as an opt-in not shown until a checkbox to allow separate different speeds is ticked
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing playback-speed setting and the code that identifies the current YouTube video. Check whether the video's music category is available through the YouTube API or another existing source. Done means an opt-in setting can apply one saved speed to music and another to other content without changing current behavior by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100