77 Commits

Author SHA1 Message Date
hibna 47ad7680dc chore: add gif and audio preview to examples 2026-02-14 13:00:18 +03:00
hibna ef39d20b43 feat: add animated image and audio player support 2026-02-14 12:54:08 +03:00
hibna 39406822ae chore(release): bump to 3.1.2 and include DOCUMENTATION.md in package 2026-02-13 06:11:11 +03:00
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 69d7706967 fix: avoid vite optional stream import resolution 2026-02-13 05:16:02 +03:00
hibna ab1135ef74 fix: restore examples build for mpegts loader 2026-02-13 05:01:05 +03:00
hibna 9ab429b5c0 release: v3.0.0 2026-02-13 04:59:21 +03:00
hibna 1f1b7d7de3 chore(release): bump @source/player to 2.0.0 2026-02-12 19:58:50 +03:00
hibna 961d9ac3b9 feat(player): replace native cues with custom subtitle renderer 2026-02-12 19:57:00 +03:00
hibna 83124fbd05 Delete PROJE_OZELLIK_ENVANTERI.md 2026-02-12 16:25:51 +00:00
hibna b8479fabfd Delete PROJE_EKSIK_HATALI_NOKTALAR.md 2026-02-12 16:25:42 +00:00
hibna 58a405d895 feat: add configurable props for DX improvements
- Configurable keyboard shortcuts (seekSmall, seekLarge, volumeStep, disabled keys)
- Configurable touch gestures (maxSeekSeconds, maxVolumeChange, doubleTapSeekSeconds)
- Configurable auto-hide timeout via controlsAutoHideDelay prop
- Configurable playback rates via playbackRates prop
- Aspect ratio support (16:9, 4:3, 21:9, 1:1, 9:16, custom)
- Extended theme system (fontFamily, borderRadius, overlayOpacity, controlsBackground, etc.)
- Custom translations support via translations prop
- Children/slot system (children, controlsLeftExtra, controlsRightExtra)
- Ref forwarding with VideoPlayerHandle imperative API
- Analytics events (onFirstPlay, onBufferStart, onBufferEnd, onQualityChange)
- iOS Safari volume slider auto-hiding
- SSR guards for feature detection utilities
- prefers-reduced-motion CSS media query support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 19:23:54 +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 f57ee77c56 . 2026-02-12 17:29:23 +03:00
hibna 108bf9a46c . 2026-02-12 17:25:44 +03:00
hibna d27596c0e9 0.1.15 2025-11-04 07:38:54 +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 164450dd13 0.1.13 2025-11-04 06:52:33 +03:00
hibna 52ca1ef6c2 Add live broadcast detection and UI indicator
Introduces isLiveBroadcast to VideoState and PlayerContext to detect live streams (duration is Infinity or 0). Updates ControlsLayer to show a 'LIVE' badge and hide progress/time for live broadcasts. Adjusts VideoElement to set and update isLiveBroadcast on metadata and duration changes. Adds related CSS for the live indicator and improves ESLint config for unused vars.
2025-11-04 06:52:24 +03:00
hibna 870a4d5a4e 0.1.12 2025-11-04 06:36:27 +03:00
hibna b0e278afb5 Add MPEG-TS support and related utilities
Introduces MPEG-TS streaming support by adding mpegts.js as an optional dependency, updating keywords, and implementing new utility modules for MPEG-TS loading and setup. Updates VideoElement and videoProtocol logic to handle MPEG-TS streams, adds corresponding tests and mocks, and improves local settings for npm install.
2025-11-04 06:36:21 +03:00
hibna db2e3a0722 0.1.11 2025-11-04 06:09:36 +03:00
hibna 38295bdf9c Update MPEG-TS IPTV detection to use native playback
Changed protocol detection for .ts IPTV streams to prefer native playback instead of HLS.js, reflecting modern browser support for MPEG-TS. Updated related tests to match new behavior.
2025-11-04 06:09:26 +03:00
hibna 64bdb6c9f2 0.1.10 2025-11-04 05:43:41 +03:00
hibna 5555dad083 Update MPEG-TS detection to use HLS.js transmuxing
Changed MPEG-TS (IPTV) stream detection to use HLS.js for transmuxing instead of native playback, as browsers do not natively support MPEG-TS. Updated related tests and marked 'needsSpecialPlayer' as true. Also configured Vite to treat 'hls.js' and 'flv.js' as external dependencies.
2025-11-04 05:43:18 +03:00
hibna a7b2d84efc 0.1.9 2025-11-04 05:34:37 +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 15bfb01c33 0.1.8 2025-11-04 05:25:57 +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 e3b2d396e1 Fix JSX runtime bundling issue causing crashes in consuming projects
- Add 'react/jsx-runtime' to external dependencies in vite.config.lib.ts
- This prevents bundling React's JSX runtime into the package
- Fixes "Cannot read properties of undefined (reading 'recentlyCreatedOwnerStacks')" error
- Bump version to 0.1.7

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 04:35:34 +03:00
hibna 0ee7ef93eb 0.1.6 2025-11-03 02:36:38 +03:00
hibna 36f83ff72c Add SRT/FLV/RTMP support and update documentation
Introduced Python scripts for SRT subtitle checking and fixing, and added comprehensive documentation covering advanced features such as protocol detection, subtitle/audio/quality management, keyboard shortcuts, and touch gestures. Updated local settings to allow new build and Python commands, added TypeScript definitions for FLV, and implemented RTMP/FLV protocol support in the player. Removed CHANGELOG.md and made various improvements to styles and example app.
2025-11-03 02:35:56 +03:00
Mert Uyanık 42a12dfa8b Merge pull request #12 from MertUyanik/codex/buyut-alt-yazlar-ve-butonu-gelistir
Improve subtitle legibility and paused play button styling
2025-10-30 04:48:37 +03:00
Mert Uyanık 5d3bdf83b8 Adjust subtitle styling and center play button 2025-10-30 04:48:19 +03:00
Mert Uyanık 8f78777857 Merge pull request #11 from MertUyanik/codex/rewrite-player-styles-for-modern-design
Redesign video player styling
2025-10-30 04:14:39 +03:00
Mert Uyanık 1113ca891c Redesign video player styling 2025-10-30 04:14:28 +03:00
hibna 183cc65455 . 2025-10-30 04:02:31 +03:00
Mert Uyanık 35e07b059f Merge pull request #10 from MertUyanik/codex/duzelt-zen-browser-altyaz-gorunumunu
Fix Firefox subtitle positioning
2025-10-30 03:39:49 +03:00
Mert Uyanık 17463ea9e7 Fix Firefox subtitle positioning 2025-10-30 03:39:39 +03:00
hibna 72520d56e6 Refactor video player CSS for improved subtitles and layout
Major CSS refactor for video player components: improves subtitle styling and cross-browser positioning, restructures ControlsLayer and VideoElement styles for clarity and responsiveness, and updates custom properties for better subtitle/controls separation. Adds a local settings file for permissions.
2025-10-30 03:31:07 +03:00
Mert Uyanık f48ef02bbd Merge pull request #9 from MertUyanik/codex/redesign-subtitle-styles-and-layout
Revamp subtitle styling
2025-10-29 14:42:02 +03:00
Mert Uyanık 8f0c23325f Revamp subtitle styling 2025-10-29 14:41:52 +03:00
hibna ad0c32785b . 2025-10-29 14:37:33 +03:00
Mert Uyanık 0d3559300a Merge pull request #8 from MertUyanik/codex/investigate-missing-subtitle-display
Fix SRT subtitle parsing and auto-select default track
2025-10-29 14:22:40 +03:00
Mert Uyanık a508919d20 Fix SRT subtitle conversion and default selection 2025-10-29 14:22:08 +03:00
hibna c5efcb95d5 Add SRT subtitle support and improve subtitle handling
This update enables SRT subtitle files by converting them to VTT blob URLs, sets the default subtitle track automatically, and improves subtitle track switching. Subtitle styling is enhanced in CSS, and tests are updated to use the correct subtitle prop format.
2025-10-29 14:15:43 +03:00
hibna 02e578f954 0.1.5 2025-10-29 13:41:33 +03:00