ABSTRACT sidebar buttons

This commit is contained in:
2025-05-30 14:58:29 +02:00
parent 1802659f43
commit e65bbf8e75
6 changed files with 55 additions and 32 deletions

View File

@@ -76,7 +76,7 @@ export default function Playbar({ video, videoMetadata, className }: Props) {
}, [video]);
return (
<div className={clsx("flex justify-between items-center p-2 rounded-lg", className)}>
<div className={clsx("flex justify-between items-center mb-2", className)}>
<div className={"flex gap-1"}>
<Icon size={24} />
<input
@@ -88,7 +88,10 @@ export default function Playbar({ video, videoMetadata, className }: Props) {
className={"w-20"}
/>
</div>
<button onClick={togglePlay}>
<button
onClick={togglePlay}
className={"hover:bg-gray-300 rounded-full p-1"}
>
{isPlaying ? <Pause size={24} /> : <Play size={24} />}
</button>
{videoMetadata.endPoint &&