{
if (e.key === 'ArrowLeft' || e.key === 'ArrowRight') {
e.preventDefault();
const video = videoRef.current;
if (!video) return;
const step = duration * 0.05;
video.currentTime = Math.max(
0,
Math.min(duration, video.currentTime + (e.key === 'ArrowRight' ? step : -step)),
);
}
}}
role="slider"
tabIndex={0}
aria-valuenow={Math.round(progress * 100)}
aria-valuemin={0}
aria-valuemax={100}
aria-label={t`Video progress`}
>