Skip to content

[FEATURE] Add YouTube Shorts Auto-Scroll with Custom Time & Smart Duration Handling #398

@nrv-96

Description

@nrv-96

Description

Implement an auto-scroll feature for YouTube Shorts playback that allows users to automatically move to the next short based on configurable timing or video completion.


Requirements

1. Auto-scroll Modes

  • Fixed time auto-scroll (e.g., 5–20 seconds)
  • Scroll after full video completion

2. Custom Time Control

  • User can define scroll interval (range: 5–20 seconds)
  • Default value: 10 seconds

3. Smart Video Handling

  • If video duration is shorter than the selected custom time:
    • Treat it as completed
    • Auto-scroll immediately after video ends

4. Playback Detection

  • Detect:
    • Video start
    • Video end
    • Current playback time

5. Seamless Transition

  • Smooth scroll to next short
  • Avoid duplicate triggers or skipped videos

Edge Cases

  • Very short videos (<5 seconds)
  • Network delays or buffering
  • User manually scrolling (should override auto-scroll)
  • Paused videos (auto-scroll should pause)

UI/UX

  • Toggle for auto-scroll ON/OFF
  • Slider or dropdown for time selection (5–20 seconds)
  • Indicator when auto-scroll is active

Technical Notes

  • Use video player events (timeupdate, ended)
  • Debounce/throttle scroll trigger
  • Maintain state for current video index

Acceptance Criteria

  • Auto-scroll works in both modes
  • No unintended skips or repeats
  • Settings persist across sessions
  • Smooth performance across devices

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions