feat: implement phase2 player isolation and media config
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user