Skip to content

Commit e22407d

Browse files
phenomnomnominalmmalerba
authored andcommitted
Fix typo? (#17590)
1 parent 8422580 commit e22407d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/youtube-player/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class YoutubePlayerExampleModule {
3939
selector: 'youtube-player-example',
4040
})
4141
class YoutubePlayerExample implements OnInit {
42-
onInit() {
42+
ngOnInit() {
4343
// This code loads the IFrame Player API code asynchronously, according to the instructions at
4444
// https://developers.google.com/youtube/iframe_api_reference#Getting_Started
4545
const tag = document.createElement('script');

0 commit comments

Comments
 (0)