@grizzshutsdown/simpleplayer 0.1.3 → 0.1.5

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
@@ -97,9 +97,9 @@ declare module 'react' {
97
97
  - `src`: video URL.
98
98
  - `aspect-ratio`: player aspect ratio. Default: `16 / 9`.
99
99
  - `preload-margin`: lazy-load margin before the video enters view. Default: `360px 0px`.
100
- - `controls`: add volume, Picture-in-Picture, and fullscreen controls.
100
+ - `controls`: add a controls tray with volume, Picture-in-Picture, and fullscreen buttons.
101
101
  - `disable-autoplay`: turn off default autoplay. Autoplay starts muted so browsers allow it.
102
- - `show-time`: shows a pinned timestamp tray when `controls` are enabled, or a hover tooltip over the scrubber when `controls` are disabled.
102
+ - `show-time`: dual-mode timestamp. When used with `controls`, shows a pinned glass timestamp tray in the bottom-left alongside the controls tray. When used without `controls`, shows a hover tooltip above the scrubber as you drag or hover it. Clicking the timestamp toggles between elapsed and remaining time.
103
103
 
104
104
  The default player matches the simple preview: play/pause, scrubber, muted autoplay, and no extra side controls.
105
105