feat: implement phase2 player isolation and media config

This commit is contained in:
hibna
2026-02-12 18:39:11 +03:00
parent fcd2a14a05
commit 73d5d65d2b
8 changed files with 226 additions and 20 deletions
+19
View File
@@ -952,6 +952,7 @@ function QualitySelector() {
#### Özellikler
- ✅ Input/textarea alanlarında devre dışı
- ✅ Sadece aktif/focus olan player için çalışır (çoklu player uyumu)
- ✅ Default tarayıcı davranışını önler
- ✅ Enable/disable ile açılıp kapatılabilir
- ✅ Fullscreen'de de çalışır
@@ -1070,6 +1071,9 @@ interface VideoPlayerProps {
// Poster/thumbnail resmi
poster?: string
// Protokol override (default: auto)
protocol?: 'auto' | 'native' | 'hls' | 'rtmp' | 'dash' | 'mpegts'
// Otomatik oynat
autoplay?: boolean
@@ -1079,6 +1083,21 @@ interface VideoPlayerProps {
// Başlangıçta sessiz
muted?: boolean
// Başlangıç ses seviyesi (0-1)
volume?: number
// Oynatma hızı
playbackRate?: number
// Başlangıç zamanı (saniye)
currentTime?: number
// Video element attribute'ları
crossOrigin?: '' | 'anonymous' | 'use-credentials'
preload?: 'none' | 'metadata' | 'auto'
playsInline?: boolean
controlsList?: string
// Kontrolleri göster (default: true)
controls?: boolean