style(video): update video player background color for dark mode

This commit is contained in:
icarus 2025-10-13 20:04:44 +08:00
parent 81f186abd6
commit 261b79198a

View File

@ -213,7 +213,7 @@ const VideoPlayer = ({
<video
ref={videoRef}
controls
className="h-full w-full rounded-2xl bg-black object-contain"
className="h-full w-full rounded-2xl bg-content2 object-contain dark:bg-background"
onLoadedData={() => setLoadSuccess(true)}
onError={() => setLoadSuccess(false)}>
<source src={`file://${src}`} type="video/mp4" />