+ {/* Oynat/Duraklat */}
+
+
+ {/* İleri/Geri */}
+
+
+
+ {/* Ses Kontrolü */}
+
setVolume(parseFloat(e.target.value))}
+ />
+
{Math.round(videoState.volume * 100)}%
+
+ {/* Zaman Göstergesi */}
+
+ {formatTime(videoState.currentTime)} / {formatTime(videoState.duration)}
+
+
+ {/* Oynatma Hızı */}
+
+
+ {/* Tam Ekran */}
+
+
+ );
+}
+
+function formatTime(seconds: number): string {
+ const mins = Math.floor(seconds / 60);
+ const secs = Math.floor(seconds % 60);
+ return `${mins}:${secs.toString().padStart(2, '0')}`;
+}
+
+function App() {
+ return (
+