From b7953ff0fcc39d5b1e966dbefa66bcb9267496b0 Mon Sep 17 00:00:00 2001 From: Hashen <37979557+Hashen110@users.noreply.github.com> Date: Mon, 18 Apr 2022 07:13:24 +0530 Subject: [PATCH] Add markers docs (#2439) * change browserslist to cover 100% not dead browsers * feat: add MediaMetadata * Revert browserslist change * add markers docs Co-authored-by: Sam Potts --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 61647afb..9c017554 100644 --- a/README.md +++ b/README.md @@ -414,6 +414,7 @@ Note the single quotes encapsulating the JSON and double quotes on the object ke | `youtube` | Object | `{ noCookie: false, rel: 0, showinfo: 0, iv_load_policy: 3, modestbranding: 1 }` | See [YouTube embed options](https://developers.google.com/youtube/player_parameters#Parameters). The only custom option is `noCookie` to use an alternative to YouTube that doesn't use cookies (useful for GDPR, etc). Some are set automatically based on other config options, namely: `autoplay`, `hl`, `controls`, `disablekb`, `playsinline`, `cc_load_policy`, `cc_lang_pref`, `widget_referrer` | | `previewThumbnails` | Object | `{ enabled: false, src: '' }` | `enabled`: Whether to enable the preview thumbnails (they must be generated by you). `src` must be either a string or an array of strings representing URLs for the VTT files containing the image URL(s). Learn more about [preview thumbnails](#preview-thumbnails) below. | | `mediaMetadata` | Object | `{ title: '', artist: '', album: '', artwork: [] }` | The [MediaMetadata](https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata) interface of the Media Session API allows a web page to provide rich media metadata for display in a platform UI. | +| `markers` | Object | `{ enabled: false, points: [] }` | `enabled`: Whether to enable markers. | 1. Vimeo only 2. Autoplay is generally not recommended as it is seen as a negative user experience. It is also disabled in many browsers. Before raising issues, do your homework. More info can be found here: