-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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(UI): Add the option for chapter titles and dividers on the seek bar #5771
Conversation
@Trail3lazer I’m on vacation the next week, but I’ll review when back! Thanks! |
Incremental code coverage: 35.95% |
Looks like you've tied the chapters to the current subtitle/caption language, how will that work if the video doesn't have any subtitles/captions or when they are disabled or if the chapters are only available in a single language but a subtitle track in a different language is active? Probably better to either hook it up to the UI language which will always be available or create a separate setting for it. |
@@ -96,6 +96,7 @@ The following buttons can be added to the overflow menu: | |||
* remote: adds a button that opens a Remote Playback dialog. The button is visible only if the | |||
browser supports Remote Playback API. | |||
* Statistics: adds a button that displays statistics of the video. | |||
* displayChapters: tick marks between chapters and labels that appear on hover. |
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.
This configuration does not have to exist, in the same way as we do with thumbnails. Please, remove this config.
@@ -171,7 +172,7 @@ const config = { | |||
'seekBarColors': { | |||
base: 'rgba(255, 255, 255, 0.3)', | |||
buffered: 'rgba(255, 255, 255, 0.54)', | |||
played: 'rgb(255, 255, 255)', | |||
played: 'rgb(255, 255, 255)' |
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.
Revert this change, it's not necessary
@@ -880,7 +880,6 @@ describe('UI', () => { | |||
}); | |||
}); | |||
|
|||
|
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.
Revert this change, it's not necessary
@@ -607,7 +799,6 @@ shaka.ui.SeekBar = class extends shaka.ui.RangeElement { | |||
} | |||
}; | |||
|
|||
|
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.
Revert this change, it's not necessary
Closing due to inactivity. If the author would like to continue this PR, they can reopen it (preferred) or start a new one (if needed). |
Closes #3597