Skip to content

Commit 7bccb2c

Browse files
Update examples/app.component.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 608ca7d commit 7bccb2c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/app.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
1+
import { Component } from '@angular/core';
22
import { CommonModule } from '@angular/common'; // Import CommonModule for NgIf
3+
import { InteractiveVideoModule } from '@interactive-video-labs/angular';
34

45
@Component({
56
selector: 'app-root',
67
standalone: true,
7-
imports: [CommonModule], // Use CommonModule for NgIf
8-
schemas: [CUSTOM_ELEMENTS_SCHEMA], // Allow Web Components
8+
imports: [CommonModule, InteractiveVideoModule], // Import the Angular wrapper module
99
template: `
1010
<h1>Simple Interactive Video Example</h1>
1111
<iv-interactive-video

0 commit comments

Comments
 (0)