Skip to content

Commit

Permalink
fix(FEC-13076): Safari track.cues issue (#612)
Browse files Browse the repository at this point in the history
Co-authored-by: Gilad Nadav <gilad.nadav@kaltura.com>
  • Loading branch information
semarche-kaltura and giladna authored Apr 3, 2023
1 parent d987841 commit 963a8d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/cuepoint/cuepoint-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export class CuePointManager {
let cue = null;
const metadataTracks = this._getMetadataTracks();
metadataTracks.some(track => {
cue = track.cues.getCueById(id);
if (track.cues) {
cue = track.cues.getCueById(id);
}
return cue;
});
return cue;
Expand Down

0 comments on commit 963a8d2

Please sign in to comment.