-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(playlist-plugin): introduce repeat one mode #22
Conversation
|
83d6619
to
0ccacac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take another look when the merge conflicts are resolved and the PR is no longer in draft.
- Introduced a new "repeat one" mode to the playlist plugin. - Modified the UI to include a toggle button that cycles through three modes: no repeat, repeat all, and repeat one. BREAKING CHANGE: - Changed the API to toggle the repeat mode and the initialization options. - The repeat mode is no longer a boolean. It is now a number representing each mode (0: no repeat, 1: repeat all, 2: repeat one).
Updated the JSDoc type reference for the `Button` component to the correct path in the video.js library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
🎉 This PR is included in version @srgssr/pillarbox-playlist-v2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Resolves #19 by introducing a new "repeat one" mode to the playlist plugin.
The UI has been modified to include a toggle button that cycles through three modes: no repeat, repeat all, and repeat one. See the following example:
repeat-toggle-demo.mov
Changes Made
BREAKING CHANGE:
Checklist