-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
**the issue:** when `preventSeek` is active, `onTimeUpdate` callback was pushing only new data. As a result, in transcript only the current active caption line was displayed. **solution:** - add the cuePoints to a pending list - listen to `TIME_UPDATE` event and in callback: push only new cue points to player and remove them from the pending list - handle cases where the player is paused and need to switch captions, as we rely on `timeUpdate` event - make the filter and push cuePoints at least every 400 ms, to not overload **related PR:** kaltura/playkit-js-transcript#183 Solves FEC-13775
- Loading branch information
1 parent
42139f0
commit 66a97e3
Showing
2 changed files
with
47 additions
and
16 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