-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: chapters and cuepoints interface doesnt reflect internal types (#…
…977) When we released chapters we unified the chapter and cuepoint types under the hood, making both support an optional `endTime` with cuepoints still supporting the legacy shape using `time` instead of `startTime`. Our `addChapters` and `addCuePoints` methods on the player don't use these new types though. `endTime` is currently required by the `addChapters` method, but shouldn't be, and only the legacy type is required by `addCuePoints`. These changes re-use our existing internal types for `Chapter` and `CuePoint` for the external interface. Fixes #947
- Loading branch information
1 parent
2722b6e
commit e3eadec
Showing
3 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters