Skip to content

docs: fix typo #29403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/youtube-player/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ File any bugs against the [angular/components repo](https://github.com/angular/c
To install, run `ng add @angular/youtube-player`.

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

## Example
Expand Down Expand Up @@ -60,7 +60,7 @@ export class YourApp {}
```

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