@grizzshutsdown/simpleplayer 0.1.6 → 0.1.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 +1 -1
- package/dist/player/media.d.ts +3 -1
- package/dist/simple-player.js +964 -818
- package/dist/simple-player.js.map +1 -1
- package/package.json +1 -1
- package/skill/simpleplayer/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ 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
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.
|
|
28
28
|
- `disable-volume`: removes the volume control.
|