Fix seekbar not working

This commit is contained in:
Nicolas Mowen 2024-03-01 16:18:59 -07:00
parent d41062a37d
commit 0039e4ec88

View File

@ -468,7 +468,7 @@ function VideoPreview({
<source src={relevantPreview.src} type={relevantPreview.type} />
</video>
<Slider
className="absolute inset-x-0 bottom-0"
className="absolute inset-x-0 bottom-0 z-30"
value={[progress]}
onValueChange={onManualSeek}
onValueCommit={onStopManualSeek}
@ -586,7 +586,7 @@ function InProgressPreview({
onLoad={handleLoad}
/>
<Slider
className="absolute inset-x-0 bottom-0"
className="absolute inset-x-0 bottom-0 z-30"
value={[key]}
onValueChange={onManualSeek}
onValueCommit={onStopManualSeek}