@grizzshutsdown/simpleplayer 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grizzshutsdown/simpleplayer",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "A simple default video player created from Grizz's portfolio for others to use.",
5
5
  "type": "module",
6
6
  "homepage": "https://grizz.fyi",
@@ -22,9 +22,9 @@ Attributes:
22
22
  - `src`: video URL.
23
23
  - `aspect-ratio`: CSS aspect ratio. Default: `16 / 9`.
24
24
  - `preload-margin`: lazy-load margin. Default: `360px 0px`.
25
- - `controls`: add a controls tray with volume, Picture-in-Picture, and fullscreen buttons.
25
+ - `controls`: add a controls tray with volume, Picture-in-Picture, and fullscreen buttons. The volume control automatically disables itself if the video has no audio track.
26
26
  - `disable-autoplay`: turns off muted autoplay.
27
- - `show-time`: dual-mode timestamp. With `controls`, shows a pinned glass timestamp tray in the bottom-left. Without `controls`, shows a hover tooltip above the scrubber while dragging or hovering. Clicking toggles between elapsed and remaining time.
27
+ - `show-time`: dual-mode timestamp. With `controls`, shows a pinned glass timestamp tray in the bottom-left. Without `controls`, shows a hover tooltip above the scrubber while dragging or hovering. Clicking toggles between elapsed and remaining time. The tray automatically resizes to fit the text as the time changes during playback.
28
28
  - `disable-volume`: removes the volume control.
29
29
  - `disable-picture-in-picture`: removes Picture-in-Picture.
30
30
  - `disable-fullscreen`: removes fullscreen.