Skip to content

Commit 28b645d

Browse files
IgorMinarjelbourn
authored andcommitted
docs(youtube-player): fix errors in the example (#17090)
CommonModule is not needed since it's provided by browser or server platform automatically.
1 parent 3dc33f1 commit 28b645d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/youtube-player/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ If your video is found at https://www.youtube.com/watch?v=PRQCAL_RMVo, then your
2020

2121
```typescript
2222
// example-module.ts
23-
import {CommonModule} from '@angular/common';
2423
import {NgModule} from '@angular/core';
2524
import {YouTubePlayerModule} from '@angular/youtube-player';
26-
import {YoutubePlayerExample} from './example-component';
2725

2826
@NgModule({
2927
imports: [
30-
// Needed for ngIf directive.
31-
CommonModule,
3228
YouTubePlayerModule,
3329
],
3430
declarations: [YoutubePlayerExample],

0 commit comments

Comments
 (0)