Skip to content

Commit

Permalink
Merge pull request #75 from kaltura/SUP-44820
Browse files Browse the repository at this point in the history
fix(SUP-44820): Video Quiz not working
  • Loading branch information
inbalvasserman authored Sep 26, 2024
2 parents d15dbb8 + 5e5025f commit e770541
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/provider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {CuepointTypeMap, CuePoint, KalturaThumbCuePointSubType} from '../types';
import {CuepointTypeMap, CuePoint, KalturaThumbCuePointSubType, KalturaCuePointType} from '../types';
import {CuePointManager} from '../cuepoint-manager';
import Player = KalturaPlayerTypes.Player;
import Logger = KalturaPlayerTypes.Logger;
Expand Down Expand Up @@ -49,6 +49,9 @@ export class Provider {
if (!cuePoints.length) {
return;
}
if (this._types.has(KalturaCuePointType.QUIZ)) {
usePendingQueManager = false
}
const playerCuePoints: CuePoint[] = cuePoints.map(cuePoint => {
const {startTime, endTime, id, ...metadata} = cuePoint;
return {startTime, endTime, id, metadata};
Expand Down

0 comments on commit e770541

Please sign in to comment.