Skip to content

Commit

Permalink
docs: change prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvasilchuk committed Mar 22, 2020
1 parent c61695b commit c6209c8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ export default {

## ⚙️ Properties

| Property | Required | Type | Default | Description |
| ----------- | -------- | ------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| url | `true` | String | | Video `URL` in https://www.youtube.com/watch?v=VIDEO_ID format |
| alt | `false` | String | `"Video alternative image"` | Value of the `alt` attribute of the thumbnail `<img />` element |
| buttonLabel | `false` | String | `"Play video"` | Value of the `aria-label` attribute of the play `<button></button>` element. Improves a11y |
| aspectRatio | `false` | String | `"16:9"` | Aspect ratio. It helps to save proportions of the video on different container sizes |
| size | `false` | String | `"maxresdefault"` | Size of the thumbnail, generated by YouTube. Available variants: `default`, `mqdefault`, `sddefault`, `hqdefault`, `maxresdefault` |
| Property | Required | Type | Default | Description |
| ---------------- | -------- | ------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| url | `true` | String | | Video `URL` in https://www.youtube.com/watch?v=VIDEO_ID format |
| alt | `false` | String | `"Video alternative image"` | Value of the `alt` attribute of the thumbnail `<img />` element |
| buttonLabel | `false` | String | `"Play video"` | Value of the `aria-label` attribute of the play `<button></button>` element. Improves a11y |
| aspectRatio | `false` | String | `"16:9"` | Aspect ratio. It helps to save proportions of the video on different container sizes |
| previewImageSize | `false` | String | `"maxresdefault"` | Size of the thumbnail, generated by YouTube. Available variants: `default`, `mqdefault`, `sddefault`, `hqdefault`, `maxresdefault` |

## ⚙️ Events

Expand Down

0 comments on commit c6209c8

Please sign in to comment.