@halibegic/react-video-player 0.0.15 → 0.0.16
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 +14 -0
- package/dist/components/live-player/live-player-keyboard.d.ts +2 -0
- package/dist/components/player/player-keyboard.d.ts +2 -0
- package/dist/components/vod-player/vod-player-keyboard.d.ts +2 -0
- package/dist/react-video-player.es.js +1249 -1140
- package/dist/react-video-player.es.js.map +1 -1
- package/dist/react-video-player.umd.js +48 -48
- package/dist/react-video-player.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,6 +71,20 @@ function App() {
|
|
|
71
71
|
|
|
72
72
|
**Example with `messages`:**
|
|
73
73
|
|
|
74
|
+
## Keyboard Shortcuts
|
|
75
|
+
|
|
76
|
+
The video player supports the following keyboard shortcuts:
|
|
77
|
+
|
|
78
|
+
| Key | Action | Description |
|
|
79
|
+
| ----------------- | ------------- | ----------------------------- |
|
|
80
|
+
| `Space` | Play/Pause | Toggle between play and pause |
|
|
81
|
+
| `←` (Left Arrow) | Seek Backward | Jump back 10 seconds |
|
|
82
|
+
| `→` (Right Arrow) | Seek Forward | Jump forward 10 seconds |
|
|
83
|
+
| `↑` (Up Arrow) | Volume Up | Increase volume by 10% |
|
|
84
|
+
| `↓` (Down Arrow) | Volume Down | Decrease volume by 10% |
|
|
85
|
+
| `M` | Mute/Unmute | Toggle mute (0% ↔ 100%) |
|
|
86
|
+
| `F` | Fullscreen | Toggle fullscreen mode |
|
|
87
|
+
|
|
74
88
|
## Development
|
|
75
89
|
|
|
76
90
|
```bash
|