@ekg.training/ekg-video-player 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -141,7 +141,7 @@ See [`examples/React/src/App.js`](examples/React/src/App.js) or [`examples/Javas
141
141
 
142
142
  ### videoLayoutProps (object)
143
143
 
144
- - `thumbnails` (string): VTT file for thumbnails
144
+ - `thumbnails` (object): Thumbnail visibillity & VTT file URL for thumbnails
145
145
  - `playbackRates` (object): `{ min, max, step }` for playback speed
146
146
  `handouts` (array): Downloadable handout objects (`{ language, title, url }`)
147
147
  `quizzes` (array): Quiz objects (see [`examples/React/src/App.js`](examples/React/src/App.js))
@@ -156,6 +156,12 @@ See [`examples/React/src/App.js`](examples/React/src/App.js) or [`examples/Javas
156
156
  - `infoLink` (string): The link (image or video) to player information (e.g. instructions to use player)
157
157
  - `allowPiP` (boolean): Enable/disable availability of PIP feature
158
158
 
159
+ ### thumbnails (object)
160
+
161
+ - `showThumbnails` (boolean): Enable/disable visibility of thumbnails over seek bar (default_value: true)
162
+ - `customUrl` (string): VTT file URL
163
+ - `autoDetectThumbnail` (boolean): Enable/disable feature of searching for VTT file in the same folder the video is present. (eg. video URL: https://storage.googleapis.com/muxdemofiles/mux.mp4, thumbnail URL: https://storage.googleapis.com/muxdemofiles/thumbnail/mux.vtt) (default_value: true)
164
+
159
165
  ### audioLayoutProps (object)
160
166
 
161
167
  **Coming soon:** Audio layout customization is not yet implemented.
package/README.npm.md CHANGED
@@ -141,7 +141,7 @@ See [`examples/React/src/App.js`](examples/React/src/App.js) or [`examples/Javas
141
141
 
142
142
  ### videoLayoutProps (object)
143
143
 
144
- - `thumbnails` (string): VTT file for thumbnails
144
+ - `thumbnails` (object): Thumbnail visibillity & VTT file URL for thumbnails
145
145
  - `playbackRates` (object): `{ min, max, step }` for playback speed
146
146
  `handouts` (array): Downloadable handout objects (`{ language, title, url }`)
147
147
  `quizzes` (array): Quiz objects (see [`examples/React/src/App.js`](examples/React/src/App.js))
@@ -156,6 +156,12 @@ See [`examples/React/src/App.js`](examples/React/src/App.js) or [`examples/Javas
156
156
  - `infoLink` (string): The link (image or video) to player information (e.g. instructions to use player)
157
157
  - `allowPiP` (boolean): Enable/disable availability of PIP feature
158
158
 
159
+ ### thumbnails (object)
160
+
161
+ - `showThumbnails` (boolean): Enable/disable visibility of thumbnails over seek bar (default_value: true)
162
+ - `customUrl` (string): VTT file URL
163
+ - `autoDetectThumbnail` (boolean): Enable/disable feature of searching for VTT file in the same folder the video is present. (eg. video URL: https://storage.googleapis.com/muxdemofiles/mux.mp4, thumbnail URL: https://storage.googleapis.com/muxdemofiles/thumbnail/mux.vtt) (default_value: true)
164
+
159
165
  ### audioLayoutProps (object)
160
166
 
161
167
  **Coming soon:** Audio layout customization is not yet implemented.