-
- {playing ? (
-
- ) : (
-
- )}
-
-
-
- {formatTime(currentTime)} / {formatTime(duration)}
-
-
-
-
- {/* Volume */}
-
- {effectiveVolume === 0 ? (
-
- ) : (
-
- )}
-
-
- applyVolume(parseFloat(event.target.value), false)}
- onClick={(event) => event.stopPropagation()}
- />
-
-
- {/* Playback speed */}
-
-
-
-
- {speedMenuOpen ? (
-
- {SPEED_OPTIONS.map((rate) => (
-
- ))}
-
- ) : null}
-
-
- {/* Loop */}
-
-
-
-
- {/* Fullscreen */}
-
- {fullscreen ? (
-
- ) : (
-
- )}
-
-
-