Skip to content

Commit

Permalink
Default to preload metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
sistrall committed Feb 20, 2024
1 parent 40de2df commit 344947c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/components/VideoPlayer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ inner `<mux-player />`.

- when not declared, the `disableCookies` prop is true, unless you explicitly
set the prop to `false` (therefore it generates a `disable-cookies` attribute)
- `preload` defaults to `metadata`, for an optimal UX experience together with saved bandwidth
- the video height and width, when available in the `data` props, are used to
set a default `aspect-ratio: [width] / [height];` for the `<mux-player />`'s
`style` attribute
Expand Down

0 comments on commit 344947c

Please sign in to comment.