update video component to use poster attribute

This commit is contained in:
2026-07-10 19:48:57 +08:00
parent c55a90d23e
commit 7077557d8c
@@ -116,10 +116,10 @@ function ToolCallView({ toolCall }: { toolCall: EditorAgentToolCall }) {
<ResolvedAssetVideo
src={video.videoSrc}
objectKey={video.objectKey}
fallbackSrc={video.thumbnailSrc}
refreshKey={
video.resourceId ?? video.objectKey ?? toolCall.toolName
}
poster={video.thumbnailSrc ?? undefined}
controls
playsInline
preload="metadata"