Add volume, playbackRate, and currentTime props

Introduces new props (volume, playbackRate, currentTime) to VideoPlayer and VideoElement components, allowing external control of volume, playback speed, and initial playback position. Also adds related event handlers (onRateChange, onFullscreenChange, onPictureInPictureChange, onProgress, onDurationChange, onWaiting, onCanPlay) and updates documentation and types accordingly.
This commit is contained in:
hibna
2025-11-04 07:38:06 +03:00
parent 164450dd13
commit 80bd589c03
6 changed files with 176 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@alper/video-player",
"version": "0.1.13",
"version": "0.1.14",
"description": "Modern, feature-rich video player library for React",
"type": "module",
"main": "./dist/video-player.umd.cjs",