Added the loop playback default function
Add playback loop default option
Pull Request Type
- [x] Feature Implementation
- [ ] Bugfix
- [ ] Documentation
- [ ] Other
Related Issue
Closes #7009
Description
This pull request adds a default playback loop option to FreeTube. With this feature, users can enable looping for videos automatically, improving the playback experience for those who frequently use the loop functionality.
Changes include:
- Adding a new setting for enabling/disabling the default loop option.
- Modifying the player settings component to support this feature.
- Ensuring the setting persists between sessions.
Screenshots
A screen recording has been provided instead of screenshots.
https://github.com/user-attachments/assets/f9dae35f-9c15-4381-aadd-01a2e4f95e22
Testing
The code is straightforward, and no additional testing was required.
Desktop
OS: Windows 10 Professionnel OS Version: 22H2 FreeTube Version: 0.23.2
Additional Context
This feature enhances the user's ability to control playback behavior, making looping more accessible without requiring manual toggling for each video.
i tried to do all the requested changes