Skip to content

Commit 03c0dd8

Browse files
ajitzerocrisbeto
authored andcommitted
docs: fix typo (#29403)
Code snippet => `yotube-player` -> `youtube-player` Double spaces, missing comma. (cherry picked from commit a454216)
1 parent 3ca40ae commit 03c0dd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/youtube-player/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ File any bugs against the [angular/components repo](https://github.com/angular/c
88
To install, run `ng add @angular/youtube-player`.
99

1010
## Usage
11-
Import the component either by adding the `YouTubePlayerModule` to your app or by importing
12-
`YouTubePlayer` into a standalone component. Then add the `<yotube-player videoId="<your ID>"`
11+
Import the component either by adding the `YouTubePlayerModule` to your app or by importing
12+
`YouTubePlayer` into a standalone component. Then add the `<youtube-player videoId="<your ID>"`
1313
to your template.
1414

1515
## Example
@@ -60,7 +60,7 @@ export class YourApp {}
6060
```
6161

6262
## Loading behavior
63-
By default the `<youtube-player/>` will show a placeholder element instead of loading the API
63+
By default, the `<youtube-player/>` will show a placeholder element instead of loading the API
6464
up-front until the user interacts with it. This speeds up the initial render of the page by not
6565
loading unnecessary JavaScript for a video that might not be played. Once the user clicks on the
6666
video, the API will be loaded and the placeholder will be swapped out with the actual video.

0 commit comments

Comments
 (0)