Commit Graph

12 Commits

Author SHA1 Message Date
hibna 81794ea5f9 docs: rewrite README and DOCUMENTATION for modular player API 2026-02-13 05:48:20 +03:00
hibna fa66472c74 feat: add optional subtitle style editor with live preview 2026-02-13 05:35:27 +03:00
hibna 9ab429b5c0 release: v3.0.0 2026-02-13 04:59:21 +03:00
hibna 961d9ac3b9 feat(player): replace native cues with custom subtitle renderer 2026-02-12 19:57:00 +03:00
hibna 73d5d65d2b feat: implement phase2 player isolation and media config 2026-02-12 18:39:11 +03:00
hibna fcd2a14a05 feat: apply phase1 DX cleanup for private registry 2026-02-12 18:27:50 +03:00
hibna 8a32c5c1b3 Some fixes 2026-02-12 17:54:16 +03:00
hibna 80bd589c03 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.
2025-11-04 07:38:06 +03:00
hibna c5ca776a60 Update MPEG-TS IPTV handling to use native playback
Changed protocol detection for direct .ts IPTV streams from 'hls' to 'native', reflecting that modern browsers can play MPEG-TS streams without a special player. Updated documentation, README, and tests to clarify browser support and recommend requesting .m3u8 links for best compatibility.
2025-11-04 05:34:29 +03:00
hibna becc9efc7f Add IPTV (.ts) stream support and tests
Introduced detection and support for MPEG-TS (.ts) IPTV streams in videoProtocol, updated documentation and examples to reflect IPTV support, and added comprehensive tests for protocol detection. Mock implementations for flv.js and hls.js were added for testing, and vitest config now aliases these libraries to their mocks.
2025-11-04 05:24:21 +03:00
hibna bad1cc6ca0 Add i18n, tests, and update documentation
Introduces internationalization (i18n) support with English and Turkish, adds unit tests and test setup with Vitest and React Testing Library, and updates documentation including README and changelog. Removes legacy publishing and usage guides, refactors components to use translation system, and updates build and test scripts in package.json. Also adds new utility modules for HLS and CORS, and improves PlayerContext and SettingsMenu for language support.
2025-10-29 13:10:07 +03:00
hibna b57b24d051 Initial commit: modern React video player library
Add all source files for a feature-rich, reusable video player built with React, TypeScript, and Vite. Includes core components, context, hooks, utilities, styles, demo app, and configuration files.
2025-10-29 07:49:06 +03:00