Skip to content
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(FEC-10015): support smart scrubber preview and timeline marker #359

Merged
merged 13 commits into from
Dec 10, 2020

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Sep 17, 2020

Description of the Changes

  • Expose the new api's registerManager, getManager and hasManager
  • Fix the KPUIComponent

Related to kaltura/playkit-js-ui#546, kaltura/playkit-js-timeline#1, kaltura/playkit-js-ima#178

Solves FEC-10015

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@yairans yairans merged commit ed9606a into master Dec 10, 2020
@yairans yairans deleted the FEC-10015 branch December 10, 2020 20:44
yairans added a commit to kaltura/playkit-js-ui that referenced this pull request Dec 10, 2020
…546)

#### News:
* New `Managers` class which exposes the `registerManager(name, manager)`, `getManager(name)` and `hasManager(name)`.

#### Changes
* Add `PlayerArea` in the `Seekbar` component allows to push the cue points and to replace the default seekbar preview
* Move the seekbar preview element to `SeekBarPreview` component to be replaceable 
* Don't show the default seekbar preview when cue-point hovering (by new state `cuePointActive`)
* Ignore the seekbar mouse events when the seekbar/cue-point preview hovering (by new state `previewHoverActive`)
* Don't show the time bubble if the seekbar/cue-point preview hide it (by new state `hideTimeBubble`)
* Move the `virtualTime` to the store to be accessible from the `CuePoint`
* Add the seekbar client rect to the store to be accessible from the `CuePoint` for position calculation
* Expose some css variables to reuse in java-script 
* `PlayerArea` passes the replaced component props to the override component (used in seekbar preview overriding)
* `PlayerArea` gets new `shouldUpdate` prop to enforce updating the children (used for cue points which should get the seekbar changes)

Related to kaltura/kaltura-player-js#359, kaltura/playkit-js-timeline#1

Solves FEC-10015
yairans added a commit to kaltura/playkit-js-timeline that referenced this pull request Dec 10, 2020
* `timeline` plugin.
* `TimelineManager` class which exposes: `addCuePoint`, `removeCuePoint` and `setSeekbarPreview`.
* `CuePoint` component.
* `adBreakCuePoint` config

depends on:
kaltura/kaltura-player-js#359
kaltura/playkit-js-ui#546

Solves [FEC-10015](https://kaltura.atlassian.net/browse/FEC-10015)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant