File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ File any bugs against the [angular/components repo](https://github.com/angular/c
8
8
To install, run ` ng add @angular/youtube-player ` .
9
9
10
10
## 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>" `
13
13
to your template.
14
14
15
15
## Example
@@ -60,7 +60,7 @@ export class YourApp {}
60
60
```
61
61
62
62
## 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
64
64
up-front until the user interacts with it. This speeds up the initial render of the page by not
65
65
loading unnecessary JavaScript for a video that might not be played. Once the user clicks on the
66
66
video, the API will be loaded and the placeholder will be swapped out with the actual video.
You can’t perform that action at this time.
0 commit comments