diff --git a/projects/quml-library/src/lib/player-constants.ts b/projects/quml-library/src/lib/player-constants.ts index 33757afc..7b453086 100644 --- a/projects/quml-library/src/lib/player-constants.ts +++ b/projects/quml-library/src/lib/player-constants.ts @@ -3,4 +3,6 @@ export const DEFAULT_SCORE: number = 1; export const WARNING_TIME_CONFIG = { DEFAULT_TIME : 75, SHOW_TIMER: true -} \ No newline at end of file +} + +export const COMPATABILITY_LEVEL: number = 6; \ No newline at end of file diff --git a/projects/quml-library/src/lib/section-player/section-player.component.ts b/projects/quml-library/src/lib/section-player/section-player.component.ts index df59204c..a4130c58 100644 --- a/projects/quml-library/src/lib/section-player/section-player.component.ts +++ b/projects/quml-library/src/lib/section-player/section-player.component.ts @@ -7,7 +7,7 @@ import { takeUntil } from 'rxjs/operators'; import { QumlPlayerConfig, IParentConfig, IAttempts } from '../quml-library-interface'; import { ViewerService } from '../services/viewer-service/viewer-service'; import { eventName, pageId, TelemetryType, Cardinality, QuestionType } from '../telemetry-constants'; -import { DEFAULT_SCORE } from '../player-constants'; +import { DEFAULT_SCORE, COMPATABILITY_LEVEL } from '../player-constants'; import { UtilService } from '../util-service'; @Component({ @@ -91,7 +91,7 @@ export class SectionPlayerComponent implements OnChanges, AfterViewInit { isAssessEventRaised = false; isShuffleQuestions = false; shuffleOptions: boolean; - playerContentCompatibiltyLevel = 6; + playerContentCompatibiltyLevel = COMPATABILITY_LEVEL; constructor( public viewerService: ViewerService,