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.
This commit is contained in:
hibna
2025-11-03 02:35:56 +03:00
parent 42a12dfa8b
commit 36f83ff72c
26 changed files with 3833 additions and 1212 deletions
-70
View File
@@ -1,70 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- ✅ Test infrastructure with Vitest and React Testing Library
- 🌍 Internationalization (i18n) system with English and Turkish support
- 📊 Comprehensive README with comparison table
- 📝 44 unit tests covering core functionality
- 🔄 Language prop for VideoPlayer component
### Changed
- 🌐 Replaced hardcoded strings with translation system
- 📦 Updated build configuration for better tree-shaking
### Fixed
- 🐛 TypeScript errors in test setup file
## [0.1.3] - 2025-01-29
### Changed
- 📦 Fixed CSS export path in package.json
- 🔧 Build configuration improvements
## [0.1.2] - 2025-01-29
### Added
- 📘 TypeScript declaration files support with vite-plugin-dts
- 🎯 Full type safety for all exports
## [0.1.1] - 2025-01-29
### Added
- 🎬 Initial release of Modern Video Player
- ▶️ Core playback controls (play, pause, seek, volume)
- 🎨 Modern, responsive UI with auto-hiding controls
- ⌨️ Comprehensive keyboard shortcuts (15+ shortcuts)
- 📱 Touch gesture support for mobile devices
- 🎞️ HLS streaming support with automatic quality switching
- 📝 Subtitle support (WebVTT and SRT)
- 🎵 Multiple audio track support
- 🖼️ Picture-in-Picture and Fullscreen support
- 🎚️ Playback speed control (0.25x to 2x)
- 🎨 Theme customization with CSS variables
- 🔧 Zero runtime dependencies
- 📦 Tiny bundle size (~15KB gzipped)
- 🔄 HTTP Range Request support for large files
- 🛡️ CORS error handling and helpful error messages
- ⚡ Lazy loading for HLS.js and settings menu
- 🎯 React 18+ support
- 📘 Full TypeScript support
### Technical Features
- 🏗️ Built with React 18, TypeScript 5, and Vite 7
- 🎨 CSS modules and CSS variables for styling
- 🧩 Component-based architecture with React Context
- 🪝 Custom hooks for keyboard shortcuts and touch gestures
- 📦 ESM and UMD build outputs
- 🔧 Aggressive bundle optimization with Terser
- 🌲 Tree-shaking support
[Unreleased]: https://gitea.hibna.com.tr/hibna/video-player/compare/v0.1.3...HEAD
[0.1.3]: https://gitea.hibna.com.tr/hibna/video-player/compare/v0.1.2...v0.1.3
[0.1.2]: https://gitea.hibna.com.tr/hibna/video-player/compare/v0.1.1...v0.1.2
[0.1.1]: https://gitea.hibna.com.tr/hibna/video-player/releases/tag/v0.1.1