update video component to use poster attribute
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user