From 344947c6e7f279a93c450f91992f76a3ab324fb8 Mon Sep 17 00:00:00 2001 From: Silvano Stralla Date: Tue, 20 Feb 2024 12:41:46 +0100 Subject: [PATCH] Default to preload metadata --- src/lib/components/VideoPlayer/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/VideoPlayer/README.md b/src/lib/components/VideoPlayer/README.md index 30d80f8..e5b1d5e 100644 --- a/src/lib/components/VideoPlayer/README.md +++ b/src/lib/components/VideoPlayer/README.md @@ -119,6 +119,7 @@ inner ``. - 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 ``'s `style` attribute