diff --git a/projects/player/src/app/components/element-container/element-container.component.ts b/projects/player/src/app/components/element-container/element-container.component.ts index 8f7ef363960604a90b2780febadcb7a79381affd..4e0c58781dfea9ba2a4d7ed3f95ce77203d12813 100644 --- a/projects/player/src/app/components/element-container/element-container.component.ts +++ b/projects/player/src/app/components/element-container/element-container.component.ts @@ -70,8 +70,8 @@ export class ElementContainerComponent implements OnInit { this.mediaPlayerService.registerMediaElement( this.elementModel.id, elementComponent, - this.elementModel.activeAfterID as string, - this.elementModel.minRuns as number === 0 + this.elementModel.playerProps?.activeAfterID as string, + this.elementModel.playerProps?.minRuns as number === 0 ); } this.subscribeStartSelection(elementComponent);